On Thu, May 26, 2011 at 4:59 PM, Senthil ACS <[email protected]> wrote: > > Hi, > > After you get a cursor object from a query, check the count before > doing "moveToFirst()". >
moveToFirst() will not fail, just return false if empty. Just check the return value before proceeding. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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

