Używam następującego kodu, aby udostępnić obraz i tekst przez WhatsApp. Ale to tylko akcji obrazu, a nie text.I szukał w całym Internecie.Ale nie dostać rozwiązania .. Pomaga.Udostępnianie obrazu i tekstu przez WhatsApp
String message = Fname + Mobileno + Homeno + Workmail + Homemail
+ Gtalk + Skype + Address + Company + Title + Website;
Intent shareIntent = new Intent(Intent.ACTION_SEND);
Uri uri = Uri.parse("file://"
+ Environment.getExternalStorageDirectory()
+ "/Talk&Share/Images/profpic.png");
shareIntent.putExtra(Intent.EXTRA_TEXT, message);
shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Contact");
if(uri != null){
shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
shareIntent.setType("image/plain");
}else{
shareIntent.setType("plain/text");
}
return shareIntent;
http://stackoverflow.com/questions/26198732/add-caption-to-image-on-new-whatsapp-ver- 2-11-399-android/26772262 # 26772262 –