Reputation: 200
we usually see when we launch a specific app sometimes it automatically prompts that an update is available for this app.. update now.
I want this feature in my app also.
i just want to know method or how does the app communicates with play store to know that update is available.
thank you
Upvotes: 0
Views: 86
Reputation:
You can use android-query for querying the current version name of your application.
It will give you a result like : https://androidquery.appspot.com/api/market?app=com.google.android.youtube (example for Youtube)
Then, in your code, compare the version in the result with the current version name of your application.
Upvotes: 5