Difference Between versionName and versionCode in Android Application

Android Application has two properties named versionName and versionCode in its AndroidManifest.xml file.

Both specify the version of the application. versionName is what the user sees and can be any String.

versionCode must be an integer. The Android Market(Google Play) determine the version of the application based on the versionCode. The update of an existing application is checked by the versionCode. The versionCode should be start with “1” and increase this value by one, if you roll-out a new version of your application. When ever a change in the versionCode the Play Store will notify the user about the update.

Previous Post
techrounder-default

Remove App Name From the Title Bar in Android Application

Next Post
techrounder-default

Hike – Free SMS And IM For Android

View Comments (7)
  1. I’d like to thank you for taking the time and making the effort to write this post. I anticipate that you will continue to perform at a high level in the future.
    Thank you for sharing your  post.

Leave a Reply

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