I have MICROMAX A100 dual SIM android phone, In my app I am accessing SIM serial number, by default I am getting SIM serial number of SIM 1, How can I access the SIM 2 data ?
This functionality is a hardware implementation by manufacturer (Like some phones have internal and external storage). Default android API is not designed to accommodate all manufacturer imposed features. Though manufacturers are free to modify the android they distribute on their devices and implement new features. And usually manufacturers provide additional libraries for developers to exploit those features. So, Contact the manufacturer if they provide additional API for their devices.
Related
How can I emulate an Android device with Dual sim support? It's important that the Android level is 5.1 or higher. This emulator is intended to send/receive SMS
May this is help you:
Buddy in Document it is said that Emulators are supported with simulated SimCard..
"A GSM modem, including a simulated SIM Card" More Information
And There are some patches available which allows sim card support in emulator using standard USB PCSC reader...
Here are some links which may guide you through..
http://simhacks.github.io/android-emulator/
http://blog.codepainters.com/2010/11/20/android-emulator-patch-for-configurable-imei-imsi-and-sim-card-serial-number/
thank you...
Thank you for review my question.
Now i have problem to send sms from my mobile. i could not access to send sms from both sim card but only primary sim card to use send sms.
Question: How can i use secondary sim card to send sms?
Question: How to get dual sim card information using TelephonyManager in all android version?
I got only one sim card information.
Thank you.
Multiple SIM API is supported only from Lollipop. The phones, which have more than 1 sim, and run on older Android versions have custom ROMs(firmware), edited by their manufacturers to support multi-sim. All they have different API, which is possibly not accessible for third-party apps like yours (only system apps can use it). So if you want something like that to work on all devices, you will have to get the ROMs of all devices, decompile it, and see how the manufacturers modified it. Than you will have to implement different ways to do that for every phone model.
So in other words - it's impossible.
I'm trying to write a program that change default SIM card on my dual-sim android, what functions do I need for this?
The Android SDK has no support for manipulating multiple SIM cards. You will need to contact the manufacturer of your device and ask them if they have an SDK add-on or something that enables you to work with multiple SIM cards.
If your phone is based on Mediatek, there is a way to do what you want to. Have no doubt about that.
Dual SIM Switch Widget (I've developed it) is able to control SIM states on most dual SIM devices with Mediatek's boards.
Take a look at this page:
http://labs.mediatek.com/site/global/developer_tools/mediatek_android/api_references/mediatek-sdk3/reference/com/mediatek/telephony/TelephonyManagerEx.gsp
Does android natively support the dual sim feature?
Or is android extended by manufacturers to do so?
In particular, I'd like to make a sim switching app just like the ones in Samsung phones.
Also can anyone tell me in which system apk are the status bar and notifications located?
I'm trying to reverse engineer the Samsung sim switching feature.
Thanks.
No, dual SIM is not supported in Android out of the box. It is a custom modification by manufacturers, and there is no public API to control it.
The status bar and notifications are location in SystemUI.apk, but I doubt you'll be able to get much out of them. Any APIs used in their are unlikely to be available to third parties.
I have a android phone and want to have two sim cards active at a time. But my phone does not support dual sims.
I was wondering whether it is possible to create a program that will copy the sim card on phone memory and simulate to phone as if there is real sim card. In this way we can have virtually any number of sim cards plugged into any phone.
I have following queries before I start programming any of such thing
Is this possible ?
I googled about inner working on SIM card I found out that the communication between antenna and mobile happens using some serial number generated by SIM and this serial is matched with the signal from antenna. Anyone has good links to understand the working on SIM cards?
Where do I start with? I have little understanding of GSM protocol. Do I need to know about GSM?
SIM card cloning is technically possible, yet even if you manage to have your SIM card copied you will not be able to write a program to simulate SIM card, as SIM card is handled in hardware and your app will not have access to that hardware. Also it is not just a matter of having 2nd SIM. Dual phones require different hardware approach, different logic in the system logic and firmware etc, etc. So unfortunately "Look for real dual phone" is the much cheaper approach here.
The SIM card reading and managing is not part of android software stack. This is part of Protocol stack which is run on a separate processor.
So this will not be possible. So even if you root a device to give android the SIM values, the Communication Processor that does protocol handling will not have updated values