Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get mobile numbers if my android phone have two SIM cards?

I have implemented an application for get the SIM cards mobile numbers from my Google Ebony QWERTY touchscreen.In this device i have two SIM cards.I have used TelephonyManager for get mobile number from device as follows

TelephonyManager tMgr = (TelephonyManager) arTnewActivity.getSystemService(Context.TELEPHONY_SERVICE);
String getSimSerialNumber = tMgr.getLine1Number();
Log.v("Device mobile numbers",getSimSerialNumber);

From the above code it will return a single mobile number but If i run in case of Ebony QWERTY dual sim phone then can i get two sim card serial numbers?

please any body help me..

like image 480
prasad.gai Avatar asked Jul 06 '12 12:07

prasad.gai


People also ask

How can I see my second SIM Contacts on Android?

Insert the SIM card into your device. On your Android phone or tablet, open the Contacts app . At the bottom, tap Fix & manage Import from SIM. If you have multiple accounts on your device, pick the account where you want to save the contacts.

Does Dual SIM give you two numbers?

A Dual SIM card phone is a phone with two SIM cards. Each SIM card gives you a phone number and a connection to the phone network. It can hold two numbers and two identities at once. You can make or receive calls and send or receive texts on either number and you can give each number only to the people that you chose.


1 Answers

From what I understand the default SDK does not have support to handle dual sim. From this thread it sounds like you have to ask the manufacturer if they have a special SDK that could provide this.

If it's Google they might have some additional SDK stuffed away somewhere? :-)

like image 84
Qben Avatar answered Oct 02 '22 08:10

Qben