Yeah, look for PackageInfo.versionName and PackageInfo.versionCode. You can get an instance of PackageInfo from PackageManager.getPackageInfo(), and you can get THAT from your Activity through getPackageManager().
On Oct 25, 6:14 am, matteoli <oliver.matt...@googlemail.com> wrote: > I would like to show the current version of my application. Is it > possible to extract the values "android:versionCode" and > "android:versionName" from the Manifest with any Java method? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---