I know it’s possible to share a text message with ACTION_SEND by specifying Intent.EXTRA_TEXT. Same approach works for images – Intent.EXTRA_STREAM.
But how can I add both text and image to the same intent?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can send text and image via intent like
If you are sending using Intent ACTION then,
To send only one data either text or stream use,
Intent intent = new Intent(Intent.ACTION_SEND);To send more then one data at a time use,
Intent intent = new Intent(Intent.ACTION_SEND_MULTIPLE);Normally to send from one specific Activity to any another specific activity,
Send
Receive