And, as far as I know, and _id column in a query result is needed in order to get cursor work. I spent a lot of time working on a raw_query call before learning this.
Federico On 17 Mag, 11:29, Mark Murphy <[email protected]> wrote: > oriharel wrote: > > how do get the row ID from a Cursor? > > That will be the value of your _ID column. If you do not have an _ID > column in your result set, you cannot get the row ID from the Cursor. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

