Question

I want to create a normal button, clicking it; one can check whether there is a update version of this apps is available in google play or not.

While being connected to the internet, one can manually check for updates through out that button. Offline it will show a toast instead.

Is it possible?
If it is, please provide me some workable specific codes so that I can get a clear understanding what to do.

Était-ce utile?

La solution

Google play will display a notification if a new update is available or automatically update the app depending on the configuration.

Bottomline: a button in your app to check for updates does not make sense anyway

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top