Skip to content

Instantly share code, notes, and snippets.

@tnj
Created April 2, 2015 07:35
Show Gist options
  • Save tnj/a00bdb43dcbc2a0e1f2d to your computer and use it in GitHub Desktop.
Save tnj/a00bdb43dcbc2a0e1f2d to your computer and use it in GitHub Desktop.
Opening DeployGate application details activity from your app
public void openDeployGateApp() {
Intent i = new Intent(Intent.ACTION_VIEW);
i.setPackage("com.deploygate");
// set your app URL
i.setData(Uri.parse("https://deploygate.com/users/YOURNAME/apps/com.example.test"));
// or for distribution page
// i.setData(Uri.parse("https://deploygate.com/distributions/abcdef1234567890"));
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment