Consider the following situations:

  • There has been a problem with your application and you are notified there exist a bug in your app.
  • You have been asked to add new features
  • You have been asked to improve a feature in your app.

In such circumstances you should publish an upgrade for your application. This procedure could have been hard but fortunately android has made it easy. When you publish the latest version of the application, cafe bazaar notifies users. Managing updates for applications are done by two attributes called, Version Code and Version Name which are defined in the manifest file.

Version Code

This attribute is an integer and is not shown to users. This number is used to identify if the program under development is an update or not. So to upload an update version on CafeBazaar, its mandatory to increase Version Code. for example if in the previous package, version code is set as 2, the next package can be uploaded if and only if you set the version code more than 2. It can be 3, 10 or even 1000, any integer more than 2.

Note: We recommend to increase version code for every update only one unit.

Version Name

Version Name is an attribute, shown to users discriminating prior versions from updates You can define it as you wish. For example, it is possible to use characters or numbers or even some symbols. It can be more, equal or even less than the previous version name.

An example of Manifest file

This picture shows an example of the manifest file.

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android=""




   <application android:icon="@drawable/icon" android:label="@string/app_name">




Android studio:

According to this picture, choose build.grade file and edit Version Code and Version Name.


Attention: for assurance use clean project button. 


In basic4Android environment you can easily increase your application Version Code and Version Name as shown below.



Coming soon

Was this content helpful?
Write your comment here...

If you have any comment on this content or any idea to make it better, use this form to send us your comment.

Publish Date: 1400-03-30 09:08

Latest Update: 1400-04-12 16:49