How to check if application is still running on Android?

How does the Android Market compare different versions of Android applications?

  • Apk is android application installation file. when user used android cellphone and connected android market, android market will check softwares that installed on cellphone. if high version found, android market will show a message to info user. As we know, android application developer can write down any message in apk version filed. e.g. v1.0 or 1.0 or 1.0build. if developer published application first time with "v1.0", and  "1.1build" as second time. How android market compare these versions?

  • Answer:

    The market looks at the android:versionCode attribute in the AndroidManifest file.  When you upload a new apk to the market place it will check that this attribute is higher than the current one.  For instance: If you upload a new apk with the same versionCode, the market place will tell you that the version number has to be higher.  This is the way it does the comparison from my experience.

Steve Loper at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.