开发者

Problem with TIMES_CONTACTED value in android contacts data

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 :(

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜