Broadcast Intent on contact added/edited/changed - android

删除回忆录丶 提交于 2019-11-28 05:34:14

问题


In my app, I have a service in which I want to listen for any changes in contacts i.e., when any contact is added or edited in the native contacts app or through any other app. Is there any broadcast intent which I can register to for this purpose? Or is there any other way to achieve this?


回答1:


Found someone with a similar problem, his solution was using RawContacts.

Broadcast on contact add/change?

http://developer.android.com/reference/android/provider/ContactsContract.RawContacts.html



来源:https://stackoverflow.com/questions/14038956/broadcast-intent-on-contact-added-edited-changed-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!