db = dbHelper.getWritableDatabase();
table = db.rawQuery("select * from PROJECTS", null);
boolean f = false;
taskList = new ArrayList<String>();
while (table.moveToNext()) {
if (table.getString(1).equals(selectedProject)) {
f = true;
taskList.add(table.getString(3));
this is a part of my code...
point is i ve created the tables properly n wen i print the column count n
row count, its all updated...
also durin insert (not shown), i ve checked the return, n it returns the
rowid!!!
there is an exception at the line: " if
(table.getString(1).equals(selectedProject)) { " in the above code...
any ideas that might help me to remove the exception???
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---