01.
final
ArrayList<String> id_tb =
new
ArrayList<String>();
02.
cursor = db.rawQuery(
"SELECT * FROM "
03.
+ AndroidDatabase.TABLE_FIELD_NAME ,
04.
null
);
05.
06.
if
(cursor.moveToFirst()) {
07.
do
{
08.
09.
id_tb.add(cursor.getString(
1
));
10.
11.
}
while
(cursor.moveToNext());
12.
13.
}