7

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..

dsolimano
  • 8,870
  • 3
  • 48
  • 63
prasad.gai
  • 2,977
  • 10
  • 58
  • 93

1 Answers1

2

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? :-)

Community
  • 1
  • 1
Qben
  • 2,617
  • 2
  • 24
  • 36