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.
Hi all, In this tutorial I will show you how to get the information about all the applications installed in your ANDROID phone. What you have to do is create a ANDROID project inside the package pack.GetAllInstalledApplications amd name the java file “GetAllInstalledApplicationsExample.java” and copy the following code into it. Here the “getPackageManager().getInstalledPackages(0);” gets information… Read More »