开发者

Update/insert in new Android contacts API

开发者 https://www.devze.com 2023-01-14 02:46 出处:网络
When adding a contact in the new android contacts API, can I use newAssertQuery() also for insert, or will it only update an existing entry. If so, what is the difference between newAssertQuery() and

When adding a contact in the new android contacts API, can I use newAssertQuery() also for insert, or will it only update an existing entry. If so, what is the difference between newAssertQuery() and newUpdate()?

More generally, do I need to check whether a raw contact or data exist first and then either insert or update, or is there a simp开发者_如何学Pythonler way?

0

精彩评论

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