а затем
Код: Выделить всё
String s;
if (c != null && c.moveToFirst())
while (c.moveToNext())
s = c.getString(c.getColumnIndexOrThrow("string"));
c.close();
Подробнее здесь: https://stackoverflow.com/questions/351 ... t-provider
Код: Выделить всё
String s;
if (c != null && c.moveToFirst())
while (c.moveToNext())
s = c.getString(c.getColumnIndexOrThrow("string"));
c.close();