I am writing an android activity that displays information about contacts (contact name, last time contacted, etc.) I am trying to show the number of times a contact is contacted using the ContactsContract.Contacts.TIMES_CONTACTED column but I always get a 0 value for all contacts. I am using a Samsung galaxy S device and I saw somewhere else on the Internet that this is a problem specific to some devices (including Samsung GS). Is开发者_运维技巧 there another way to get this information?
Thanks
It looks like Samsung does not update this value and I have not found a solution to this problem yet. It works ok on other devices though so it is definitely a Samsung problem which might be solved in future updates.
I am also using this field to sort contacts in my app - but it doesn't work on SS Galaxy Y ( it works on Htc sensation/arc s/xperia ray). As far as I read from some forum - what we can do is: add our own ContentObserver to observer incoming/outgoing sms/calls - bad :(
精彩评论