开发者

Contact changes tracking problem in android

开发者 https://www.devze.com 2023-03-01 05:42 出处:网络
I am 开发者_如何学JAVAusing a content observer to listen to contact changes in android 2.x (ContactsContract.Contacts.CONTENT_URI). My problem is ContactObserver\'s onChange gets called even when I ma

I am 开发者_如何学JAVAusing a content observer to listen to contact changes in android 2.x (ContactsContract.Contacts.CONTENT_URI). My problem is ContactObserver's onChange gets called even when I make a phone call. How can i skip these and listen only to address book changes?


Change the Uri to ContactsContract.RawContacts.CONTENT_URI or ContactsContract.Data.CONTENT_URI

0

精彩评论

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