Thursday, March 19, 2015

Go to your app page in google play store

Uri uri = Uri.parse("market://details?id="
+ context.getPackageName());
Intent goToMarket = new Intent(Intent.ACTION_VIEW, uri);
try {
context.startActivity(goToMarket);
} catch (ActivityNotFoundException e) {
context.startActivity(new Intent(
Intent.ACTION_VIEW,
Uri.parse("http://play.google.com/store/apps/details?id="
+ context.getPackageName())));
}

No comments:

Post a Comment