Hi, I join this question. I have the same problem in my app. Did you find a solution?
On Wednesday, January 14, 2009 10:13:45 AM UTC+4, [email protected] wrote: > > hi, > > I wrote a case to test phonebook app, but I encountered a problem for > SIM card handling. > > I don't know if the emulated SIM card (I run it on emulator) does not > allow me to control it, or the function I used is not correct ? > > ***********************code*********************** > ContentValues values = new Content Values(); > > values.put("tag", "Jenny Huang"); > > values.put("number", "1234567"); > > Uri Uri = Uri.parse("content://sim/adn"); > > ContentResolver resolver = getContentResolver(); > > resolver.insert(uri, values); > ******************************************************* > > ******************Log shows************************ > DEBUG/SimProvider(141): [SimProvider] insert > DEBUG/SimProvider(141): [SimProvider] addSimRecordToEf: efType=28474, > name=Huang Juan, number=1234567 > DEBUG/SimProvider(141): [SimProvider] addSimRecordToEf: false > DEBUG/dalvikvm(141): GC freed 1112 objects / 58456 bytes in 281ms > DEBUG/SimProvider(141): [SimProvider] loadFromEf: efType=28474 > WARN/SimProvider(141): Cannot load ADN records > ******************************************************** > Thanks! > Jenny > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

