i have a query which populates the cursor from the database tables rules, in android sqlite. when i use the getcount on my cursor it shows me 24 which means there are 24 rows in the cursor. what i want is that all the data within cursor should be copied to multidimensional array or arraylist or in other words a copy of the database table into array list.
c = obj_db.rawQuery("select * from rules", null);
int count=c.getCount();
String x= String.valueOf(count);
i want the replica of data as in table in array list in short
Aucun commentaire:
Enregistrer un commentaire