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..
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.
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.
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? :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With