Im trying to write code into the source code to allow you to use the
same interface as the Sim Importer, i have the button and the action
written in on the contacts screen however, im having trouble writing
the code for the actual Listing of the contacts when i cause the
Intent, and then allowing you to select which contact or to export
all, and then do the actual export.

Im new to Java, and im trying to read into it as much as possible.

On Jan 14, 12:11 am, "[email protected]"
<[email protected]> wrote:
> hi,
>
> I write a case to test phonebook app, but I encountered a problem 
> forSIMcardhandling.
>
> I don't know if the emulatedSIMcard(I run it on emulator) does not
> allow me to do 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
> ********************************************************

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to