Cursor peopleCursor = contentResolver.query(
Contacts.People.CONTENT_URI,
new String[] {Contacts.People._ID, Contacts.People.DISPLAY_NAME}, //
columns you want
null, // WHERE selection
null, // selection arguments
Contacts.People._ID); // order by
http://developer.android.com/reference/android/content/ContentResolver.html#query(android.net.Uri,%20java.lang.String[],%20java.lang.String,%20java.lang.String[],%20java.lang.String)
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Jun 26, 2:06 am, "M.Manjunatha" <[email protected]> wrote:
> Hi Folks,
>
> How do i select only one particular row sort by a column using a
> sqlite query in Android??
>
> Regards,
> Manjunatha
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---