How to get the current version of your application programatically in android?
Here is a sample code to get the version of your application in android. Try changing the version in the AndroidManifest file and check the result in the console. Note : “pack.coderzheaven” should be replaced by your application package name.