> After this I decided to implement a for loop just to see if I could
> display all the cursor information before I actually try to use it
> somewhere. Here's my loop:

Did you call c.moveToFirst() before entering the loop?

For unclear reasons, Cursors from the database are positioned before the 
first returned result, so you need to call moveToFirst(), um, first.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to