Versioning Your Android App

3d abstract architecture background

Editor’s note: This blog post is a basic tutorial. The most up-to-date version is available in the wiki.

To change the version of the app add the following code to your tiapp.xml

tiapp.xml
 
<manifest android:versionCode="2" android:versionName="8.675.309"/>
</android>

  1. versionCode
    The versionCode cannot be a floating point number like “0.9”, it needs to be a whole number like “2”. The versionCode must be an int and each time it is submitted to the market must be greater than the last time.
  2. versionName
    The versionName can be anything you want.
Previous articleHandling Remote Data with HTTPClient and JSON
Next articlePlatform Engineering: Android Runtime Performance Improvements

4 COMMENTS

  1. Hello,

    Does the market automatically ask the user to upgrade the app if you specified a greater version number for the last update ?

    Thanks

  2. Hello,

    Does the market automatically ask the user to upgrade the app if you specified a greater version number for the last update ?

    Thanks

LEAVE A REPLY

Please enter your comment!
Please enter your name here