I am writing an application which writes contacts in the SIM card of an Android phone. I am stuck at the point where the phone number is added: an exception occurs with no a
I have replicated this one on my system,but the contact get erased as soon as the mobile restart.This means the contacts are saving in the temporary sim of mobile. Is this same happening on your side or i am missing something. I am using 3G sim.
Regards
values.put(RawContacts.ACCOUNT_TYPE, "com.anddroid.contacts.sim");
anddroid? I didn't look at the rest, but might be worth deleting a 'd'
Data.CONTACT_ID has to be replaced by Data.RAW_CONTACT_ID