Code example for TelephonyManager

Methods: getSimOperatorName

0
	public static String getSimOperatorName(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return null; 
 
		return manager.getSimOperatorName();
	} 
 
	public static String getSimSerialNumber(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return null; 
 
		return manager.getSimSerialNumber();
	} 
 
	public static int getSimState(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return -1;