Trying to get Package Version Information to display in an "About" message.

Posted by user313135 on Stack Overflow See other posts from Stack Overflow or by user313135
Published on 2010-04-09T19:51:28Z Indexed on 2010/04/09 19:53 UTC
Read the original article Hit count: 289

Filed under:

Hello,

I have been struggling with getting the versionName for a running application from the PackageInfo Object type.

I have constructed a Parcelable Interface with all of the fields associated with the PackageInfo Object type. The primary input for that interface method is a Parcel object.

I cannot seem to figure out how to correctly associate these Parcelable, Parcel, and PackageInfo objects.

Is there any sample code out there that I can look at? Doesn't seem like it should be that difficult but it seems to be stumping me.

Thanks Jazz

© Stack Overflow or respective owner

Related posts about android