... which can be shortened to:

while (cursor.moveToNext()) {
cursor.getString(...)
}

-- Kostya

09.12.2010 9:41, nithya nataraj пишет:
first u get point the cursor to the first item
and iterate,because by default ur cursor will be pointing to last item tat is been added
example
cursor.moveToFirst();
if (!cursor.isAfterLast())
{
do
{
String msg= msgcursor.getString(3);
//....


}while (cursor.moveToNext());
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to