nileshbirhade nileshbirhade - 1 year ago 61
Android Question

How do i get my application Version

can anyone tell me How to get applcation version in android ?

Answer Source

This page has a tips on how to do it from java:

PackageManager manager = context.getPackageManager();
PackageInfo info = manager.getPackageInfo(
    context.getPackageName(), 0);
string version = info.versionName;

Also, this link has official information on how to properly set up your application versioning.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download