添加字幕到图像上新的WhatsApp版本2.11.399(机器人) [英] add caption to image on new whatsapp ver 2.11.399 (android)

查看:158
本文介绍了添加字幕到图像上新的WhatsApp版本2.11.399(机器人)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

在Android的Wh​​atsApp的使者2.11.399版本(2014年9月30日)是可能的添加标题(文字能解密),以一个共享的形象。

On android "whatsapp messenger" version 2.11.399 (Sep 30, 2014) it is possible to add a caption (textual decription) to a shared image.

我通过意图分享图片如下:

I share image via intent 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 can I add the text to the image caption?

推荐答案

@robert我经过在旧版本的这些参数,它只是发送图像,但是当我更新我的请告诉我的应用程序版本2.11.432,现在是显示我既图片和文字作为标题。我注意到,在没有显示的2.11.399或任何旧版本。只是尝试更新你的什么应用程序,让我知道它的工作原理或不!您的code是正确的只是发送一个多余的文字也

@robert I was passing those parameters in older version and it just sending image but when I update my Whats app version with 2.11.432 And now it's showing me both Image and text as caption. I was noticed that In was not showing in 2.11.399 or any older version. Just try to update your whats app and let me know is it works or not!! Your code is right just send one extra text also

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

这篇关于添加字幕到图像上新的WhatsApp版本2.11.399(机器人)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆