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.