This post will briefly show how you can read you application’s version programmatically and then show in the app’s preferences.

The version is defined in the app’s Manifest.xml file.

Add a preference that contains the version.

Extend the fragment and update the version preference with the app’s version name.

Helper class for fetching the app’s version from code.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu