1. Check out our companion app, Forums for Android! Download from Google Play

Updating an App?

Discussion in 'Application Development' started by cmh0114, Aug 21, 2010.

  1. cmh0114

    cmh0114 Well-Known Member
    Thread Starter

    Jan 10, 2010
    As a developer, how do I update my app? What do I need to put into my code so that, when the new version is uploaded to the Market, it will alert the user that an update is available (within the app), and how do I take them to the Market page for the update?

    Also, could someone explain the process of "signing" an app? I don't quite understand that...


  2. jonbonazza

    jonbonazza Well-Known Member

    Jul 13, 2010
    In your android manifest file there is an attribute under the <manifest> tag labeled android:versionCode. Every time you go to release an update for an app in the android market, increment this number. This tells the android market that it is not the same version as the one already in the market, and must be an integer value. Furthermore, there is another attribute under that same tage (usually directly below the android:versionCode anttribute) labeled android:versionName. This attribute is the actual version name of your app that you have given to it using your own version scheme (i.e. 1.2.5). This is the version name that is displayed under your description in the android market and let's users know the exact version of your app.

Share This Page