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 ..
prasad.gai
source share