[android-developers] Sim Contacts
I have some code that manipulates the Contacts database via the
Contacts Provider (ContactsContract.RawContacts.CONTENT_URI), so I can
add/edit/delete my Google contacts, Phone contacts and the Sim
contacts cached there.
Changes to the Phone contacts are immediate, changes to the Google
contacts are synced to my Google account, but changes to the SIM
contacts only affect the Contacts DB and aren't persisted to the SIM.
Ie while I can delete the SIM contacts from the Contacts DB, once I
reboot my phone the SIM contacts get repopulated into the Contacts DB.
The IccProvider (accessed via content://icc/adn) seems to be a way to
directly access the SIM contacts. The source code seems to suggest so
and there is annectdotal evidence that this works, but it is an
internal Android API and it doesn't work on my Galaxy S in any case.
So, does anyone know a definitive way of modifying/deleting SIM
contacts.
Or failing that, a way to stop the SIM contacts being reopulated on
reboot, though this seems less satisfying.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home