के माध्यम से छवि और पाठ साझा करें मैं व्हाट्सएप के माध्यम से एक छवि और पाठ साझा करने के लिए निम्नलिखित कोड का उपयोग करता हूं। लेकिन यह केवल छवि साझा करता है, टेक्स्ट नहीं। मैंने पूरे इंटरनेट पर खोज की। लेकिन समाधान नहीं मिला .. कृपया मदद करें।व्हाट्सएप
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-एंड्रॉइड/26772262 # 26772262 –