How to open developer page on Google Play Store (market://)
This works for me:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/dev?id=7809285959465313029")));
Using market URI does not work for me.
//Method for intent to Google playstore developer page
private void M_Intent2developerpage() {
Intent intentdev = new Intent(Intent.ACTION_VIEW);
intentdev.setData(Uri.parse("market://search?q=pub:Google Inc."));
//here Developer Name is very case-sensitive . change your developer name as shown in developers page.
if (!MyStartActivity(intentdev)) {
intentdev.setData(Uri.parse("https://play.google.com/store/apps/dev?id=5700313618786177705"));
if (!MyStartActivity(intentdev)) {
Toast.makeText(this, "Could not open Android Google PlayStore, please install the Google play app.", Toast.LENGTH_SHORT).show();
}
}
}
//Method checks if any problem when Intent
public boolean MyStartActivity(Intent aIntent) {
try {
startActivity(aIntent);
return true;
} catch (ActivityNotFoundException e) {
return false;
}
}
You can simply call market://dev?id=xxx e.g.:
market://dev?id=5700313618786177705
I hope, this suits your needs!
Best, Jacko