Thanks a lot kumar, I appreciate it!

On Jan 23, 11:11 pm, Kumar Bibek <[email protected]> wrote:
> PackageInfo pInfo = null;
>
> try {
>         pInfo = getPackageManager().getPackageInfo("com.beanie.test",
> PackageManager.GET_META_DATA);
>
>         } catch (NameNotFoundException e) {
>                 e.printStackTrace();}
>
> System.out.println(pInfo.versionCode);
>
> Kumar Bibek
>
> On Jan 24, 8:48 am, dapaintballer331 <[email protected]>
> wrote:
>
>
>
> > How do you retrieve the current version code of an app's manifest?
> > I don't need to access another application, I'm talking about My app
> > accessing its own version code.
>
> > Thanks
> > -Brandon

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to