How to Simulate the SIM in the emulator

by VVPrasad » Fri, 28 Nov 2008 16:01:13 GMT

Sponsored Links

Can some one please let me know how to simulate SIM in the Emulator?

I've seen the below information (* A GSM modem, including a simulated
SIM Card) @ #telephony:

    >>Adding custom capabilities to the underlying QEMU services, the
Android emulator supports many hardware
    >>features likely to be found on mobile devices, including:

        >>* An ARMv5 CPU and the corresponding memory-management unit
        >>* A 16-bit LCD display
        >>* One or more keyboards (a Qwerty-based keyboard and
associated Dpad/Phone buttons)
        >>* A sound chip with output and input capabilities
        >>* Flash memory partitions (emulated through disk image files
on the development machine)
        >>* A GSM modem, including a simulated SIM Card

But, could not get any details to do the same.

Can some one please help to get the details?

Thanks in advance


How to Simulate the SIM in the emulator

by David Turner » Sat, 29 Nov 2008 08:31:33 GMT

 have a look at android/external/qemu/telephony/sim_card.c in the open-source

this is the current implementation of the SIM Card. As you can see, it's
pretty static at
the moment. Feel free to patch it to your liking.



Sponsored Links

How to Simulate the SIM in the emulator

by VVPrasad Chalumuri » Mon, 01 Dec 2008 06:40:50 GMT

 Hi, David Turner,

Thanks a lot for the information.

But, currently I do not have the source code. I've the SDK set up on the
Windows PC. I need to simulate the SIM on the emulator to check how to copy
contacts from SIM to phone from a new application.

Can you please suggest how to simulate the SIM on the emulator?



How to Simulate the SIM in the emulator

by David Turner » Mon, 01 Dec 2008 12:31:24 GMT

 well, I'm sorry but the current SDK's implementation doesn't support this
(though there is already a bug filed for it).

On Mon, Dec 1, 2008 at 7:40 AM, VVPrasad Chalumuri <


How to Simulate the SIM in the emulator

by VVPrasad » Tue, 02 Dec 2008 05:04:03 GMT

 Oh! OK. Thanks a lot David.



How to Simulate the SIM in the emulator

by Lovedumplingx » Wed, 14 Jan 2009 03:41:18 GMT

 Has there been any updates to this?

I too am anxiously waiting for the ability to simulate the SIM card in
order to gain access to the contacts information.

On Dec 2 2008, 12:03am, VVPrasad <>


Other Threads

1. documentation and samples downloaded but not accessable inside eclipse

I have installed Eclipse Galieo 3.5 which works fine. I have installed
Android 3.0. The Android classes are in the IDE and you can create a
shell application.

However, neither the inline documentation  or sample code is in the
IDE when they are present inside the Android folder structure in
'Program Files'.

How can I get the documentation and samples accessable inside the Eclipse IDE?



2. Create Image from String


I am trying to depict on the screen the image I receive from my
neighbour via a text message. I mean, the other node sends me a
message where an image is encode (I can read the PNG header, ...) and
now I want to show it on the screen, but it doesn't appear nothing. I
must be doing something wrong .

Here is my code:

ImageView img = (ImageView)

byte[] bytes = input.getBytes("US-ASCII");
InputStream in = new BufferedInputStream(new

Drawable drw = Drawable.createFromStream(in, "src");

As I said, nothing appears on the screen. The img hsa a correct value
since I try
and shows the picture.

Can anyone help me??

Bye and thanks for your time.


3. touch mode for listview, context menu and onListItemClick

4. Utak-atik kabel handsfree

5. Ada yang suka ngesubmit lokasi access point ke Skyhook?

6. Mandriva aapt: /lib/ using latest SDK update

7. (WTA) Ubuntu di dell streak..?