Add a caption to the image on the new WhatsApp ver 2.11.399 (android)

Friends,

In the android "whatsapp messenger" version 2.11.399 (September 30, 2014), you can add a title (text description) to the overall image.

I share the image through intention as follows:

Intent share = new Intent(android.content.Intent.ACTION_SEND); share.setType("image/jpeg"); Uri imageUri = Uri.fromFile(file); share.putExtra(Intent.EXTRA_STREAM, imageUri); //share.putExtra(Intent.EXTRA_TEXT, "This is my text to send."); // NOT WORKING startActivity(share); 

How to add text to the image title?

+7
android android-intent whatsapp caption
source share
1 answer

@robert I passed these parameters in the old version, and this is just sending the image, but when I update the version of the Whats application using 2.11.432, now I show both the image and the text as a signature. I noticed that In did not appear on 2.11.399 or in any older version. Just try updating your application and let me know if it works or not! Your code is right, just send one additional text

 share.putExtra(Intent.EXTRA_TEXT,shareBody); share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(yourFile)); 
+4
source share

All Articles