I had an app on the playstore. Know what I want is when new update is available on playstore the user should get a popup to update the app when he try to use the app. And if
Get the versionnumber and versioncode from manifest programatically like:
String versionName = getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
or
int versionCode = getPackageManager().getPackageInfo(getPackageName(), 0).versionCode;
Strore them in your app by shared preference.Now whenever the user open the app check the current versionCode with the previous one.If they match,then let the user to use the app.But if they dont match then show a pop up to ask the user to update your app.