Code example for TelephonyManager

Methods: getDeviceSoftwareVersion

0
	public static String getDeviceSoftwareVersion(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return null; 
 
		return manager.getDeviceSoftwareVersion();
	} 
 
	public static String getLine1Number(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return null; 
 
		return manager.getLine1Number();
	} 
 
	public static String getNetworkCountryIso(Context context) {
		TelephonyManager manager = getTelephonyManager(context);
		if (manager == null)
			return null; 
Connect your IDE to all the code out there  Get Codota for Java