Created
April 2, 2015 07:35
-
-
Save tnj/a00bdb43dcbc2a0e1f2d to your computer and use it in GitHub Desktop.
Opening DeployGate application details activity from your app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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