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; 
Stop searching for code, let great code find you!  Add Codota to your java IDE