I want to get the SIM number which currently in the phone i.e. owner number. and network mode whether it is GSM or CDMA.
I search on net and try to do this by getLin
For the phone number you can do,
// Get the phone number from the telephony manager, and display it TelephonyManager info = (TelephonyManager)getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); String phoneNumber = info.getLine1Number();
For the network mode, see TelephonyManager