Last active
April 7, 2017 10:33
-
-
Save kishansinhparmar/1caa8d421d945f748c68f771cbdac310 to your computer and use it in GitHub Desktop.
Share intent.
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
Intent sendIntent = new Intent(); | |
sendIntent.setAction(Intent.ACTION_SEND); | |
sendIntent.putExtra(Intent.EXTRA_TEXT, | |
"Performance app: https://play.google.com/store/apps/details?id=com." | |
+ ".packageid"); | |
sendIntent.setType("text/plain"); | |
startActivity(sendIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment