A
Android Question
Guest
Please refer my code below :
i want to send IMAGE and text using Intent.ACTION_SEND
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, userMessage);
shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
shareIntent.setType("*/*");
startActivity(Intent
.createChooser(
shareIntent,
"Share using..."));
i want to send IMAGE and text using Intent.ACTION_SEND
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, userMessage);
shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
shareIntent.setType("*/*");
startActivity(Intent
.createChooser(
shareIntent,
"Share using..."));