How to allow users to check for the latest app version from inside the app?

xDragonZ picture xDragonZ · Sep 4, 2011 · Viewed 102.5k times · Source

I want to add a "Check for update" button in apps so that when someone clicks it, it will display a toast message / progress dialog for checking the app's version.

If new version is found the apps will auto download it to the phone and let user to manually install the updated apps.

Or any others method will do as long as it can check for latest version and notify the user to update.


Update: Now you can do this inside your app using https://developer.android.com/guide/playcore/in-app-updates

Answer

winsontan520 picture winsontan520 · Apr 4, 2013

To save time writing for check new version update for android app, I written it as library and open source at https://github.com/winsontan520/Android-WVersionManager