Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一旦用户从他的设备创建/更新联系人,我想调用我的应用程序。即一旦用户点击“完成”按钮。可能吗 ?如果可能,请提供示例代码或链接。
请提前帮助和感谢。
一旦用户从他的设备创建/更新联系人,我想调用我的应用程序。即一旦用户点击“完成”按钮。可能吗 ?
不,就检测 GUI 事件而言,这是不可能的。Contacts您可以在(或)内容提供者上设置数据观察器ContactsContract,并尝试以这种方式找出这些东西,尽管我不知道它的效果如何。
Contacts
ContactsContract