[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread jennifer
Thanks. Its working for me -- 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+unsubscr...@googlegroups.c

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread Sarwar Erfan
Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, ContactsContract.Contacts.HAS_PHONE_NUMBER + " = 1", null, "UPPER(" + ContactsContract.Contacts.DISPLAY_NAME + ") ASC"); -- You received this message because you are subscribed to the Google Grou

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread Zsolt Vasvari
I'd say this is a bug in the Conent Provider, and there is not much you can do about it. On Jan 4, 12:12 pm, jeena wrote: >  am trying to load phone contacts and tried to show the contact names in > ascending order. My code is given below: > > Cursor cursor = getContentResolver().query( > Contact