Reading Android application version name and version code defined in the Manifest file programatically in android /** * Method to Fetch Application Name as Defined in Manifest File * @returns String */ public String getVersionName(){ String versionName = ""; try { versionName = getPackageManager().getPackageInfo(getPackageName(), 0).versionName; } catch (Exception e) { e.printStackTrace(); } return versionName; } /** ...
This blog is for ANDROID developers which contains information about development, resolutions of common issues and much more about ANDROID...