How to get mobile numbers if my Android phone has two SIM cards?

I have implemented an application for receiving mobile SIM card numbers from the Google Ebony QWERTY touch screen. In this device I have two SIM cards. I used TelephonyManager to get the mobile number from the 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 one mobile phone number, but if I run Ebony QWERTY in the case of two SIM phones, can I get two serial numbers of the SIM card?

please, any body will help me ..

+7
source share
1 answer

From what I understand, the SDK does not support dual sim processing by default. From this thread, it seems that you should ask the manufacturer if they have a special SDK that could provide this.

If it's Google, can they have some kind of additional SDK? :-)

+2
source

All Articles