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. Perform an action when switching between different operators

I would like to develop an application that performs some actions when
the current active operator changes.
My goal is to apply some settings in the exact same moment of the
switch, so I would like to avoid polling (also for performance/battery
How could I do that? I found nothing in the documentation but maybe I
wasn't looking at the right place.


2. [L25.8] Nagging pop-up error message


After the kernel and filesystem get loaded on the Zoom2 board, the
Display Device shows up a pop-up, nagging error message for almost every
key-press / touch-screen press. The message reads as below.


The application Sample Soft Keyboard (process has stopped unexpectedly. Please try


Has anyone faced a similar problem on L25.8 or any other version? If so,
please let me know what the problem was.

I'm using kernel android-2.6.27.

I'm using the following bootargs. Could there be any problem?








bootargs=console=ttyS3,115200n8 root=/dev/mmcblk0p2 rw rootdelay=3
mem=256M init=/init

bootcmd=mmcinit; fatload mmc 0 0x80c00000 uImage; bootm 0x80c00000




Environment size: 307/131068 bytes






3. Unsubscribe no more message thanks

4. The selected wizard could not be started.

5. Opening an old project in Eclipse

6. Need Code CRC CCITT Of Android

7. Ethernet connect