Thanks all of you! That was really helpful!
Took me some time though to find out how to run the SQL statements
from inside of Java, but this is how I did it:
SQLiteStatement r = db.compileStatement("SELECT count(*) FROM " +
TABLE_NAME);
long result = r.simpleQueryForLong();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---