how to send image along with text using shareIntent in android

Viewed 812

i am new to share intent concept ,i want to share image and text from my app to other apps like whatsapp etc.., i tryed this but one text content was sharing ,my requirement is when i share text and image ,it will display in whats app along with image please any one help me how to got this

here below my code

Intent shareIntent = new Intent(Intent.ACTION_SEND);
            shareIntent.setType("text/plain");
            shareIntent.putExtra(Intent.EXTRA_TEXT,decsription_text.getText().toString()+imagelink);

            shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Write the title what ever you want");
            startActivity(Intent.createChooser(shareIntent, "Share Via..."));

my images getting from server here image url

Picasso.with(getApplicationContext()).load((News_Updates.listData.get(pos)).getNewsImage()).into(Imageviewsample);
1 Answers
Related