Skip to content Skip to sidebar Skip to footer

Getting All Contacts Timestamp Wise

I have been trying to get all contacts of device sorted by the order they were added. I am using following query: Uri uri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI;

Solution 1:

That is the timestamp for the status update for the contact. You are getting null probably because none of the contacts have status updates.

Because of how contacts are aggregated, i don't think there is a way to find out which contact was added first because a contact's ID can actually change and appear to be added later than it originally was. Why do you want to figure this information out?

Post a Comment for "Getting All Contacts Timestamp Wise"