Here is my problem scenario.
I am working on an application which will essentially search the play store for a set of applications to get their version numbers and check with the versions of installed apps and notify the user if there is an update available.
So I need to know,
Is there a way to get the version number of an app from play store? Do google expose any APIs for this purpose? I did something like below from command line using CURL, but got an error.
$ curl https://play.google.com/store/apps/details?id=my.app.id.here curl: (35) Unknown SSL protocol error in connection to play.google.com:443
How can I get the version of an installed app in Android?
This part is solved using
getPackageManager().getInstalledPackages()