[android-developers] Re: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1
if count == 0 is True then ! make it as False.
getString(0) is for users column value.
Don't forget
if(result.moveToFirst())
After rawQueryOn Saturday, December 8, 2012 2:10:11 AM UTC-5, laxman k wrote:
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home