1. Download our Official Android App: Forums for Android!

Apps Updating an App?

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

  1. cmh0114

    cmh0114 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    114
    Joined:
    Jan 10, 2010

    Jan 10, 2010
    114
    7
    36
    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...
     

    Advertisement

  2. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    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

Loading...