androidversiongetlatest

How to get the latest version of an app programmatically?


I want to check programmatically if my app's version is the latest existing. With iOS, I would use this HTTP request :

http://itunes.apple.com/fr/lookup?bundleId=com.EC.EmploiCollectivites

Then, parse the JSON stream to get the version.

How can I do this (and is there a way) for Android ? Thanks for your answers.


Solution

  • How can I do this (and is there a way) for Android ?

    Store some JSON on your own server with the latest version information, then download that JSON.