Last active
December 17, 2015 01:59
-
-
Save aegis123/5532594 to your computer and use it in GitHub Desktop.
Open an App on the Play store
This file contains hidden or 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
protected void OpenAppInPlay() { | |
Uri uri = Uri.parse("market://details?id="/** put package name of app here. */); | |
Intent browserIntent = new Intent(Intent.ACTION_VIEW, uri); | |
startActivity(browserIntent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment