I have Dual Sim Android smartphone. I know there is no support for Dual Sim device in android SDK. I want to access a sim operator name of sim on default slot. But when I run program it gives me an empty string. Following is my code:
TelephonyManager telemamanger = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
String simOperatorName = telemamanger.getSimOperatorName();
Toast.makeText(AmountActivity.this,simOperatorName,Toast.LENGTH_SHORT).show();