Discussion:
Get default sorting order of Contacts in Android Device
mobileorg-android+noreply-APn2wQf2UFkLZsNiPnQRbfV3_2OIv4gsZbBBi6-/
2013-10-25 06:42:34 UTC
Permalink
How can my application know Default sorting order used for sorting native "Android Device Contacts"?

Inside "Contacts" -> "Settings" in android, we have "List by" and "Display Contacts by" options. How can I get these prefrences in my application.

For example: suppose device contacts are sorted by "First Name", then application should get some constant(or something similar). On the other hand, if contacts are sorted by "Last Name" then application should get constants(or info) regarding the same.

I searched SO and I got this link, but the problem is that the solution was deprecated in API level 5.

Hope anybody can help me.

Thanks in advance.

Loading...