Created
April 26, 2016 07:21
-
-
Save hafs-r/54d1ebff59468bc0e7b5652dee6feac1 to your computer and use it in GitHub Desktop.
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
targetedShareIntent.setType("application/twitter"); | |
//I tried this too, targetedShareIntent.setType("image/*"); | |
targetedShareIntent.putExtra(Intent.EXTRA_SUBJECT, getResources().getString(R.string.app_name)); | |
targetedShareIntent.putExtra(Intent.EXTRA_STREAM, dataUri); | |
targetedShareIntent.putExtra(Intent.EXTRA_TEXT, shareTwitter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment