android - Facebook 共享中的错误图像 - 使用共享 Intent 时

标签 android facebook android-intent share

我正在使用下一个代码来支持在我的应用程序中共享:

//create the send intent  
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);  

//set the type  
shareIntent.setType("text/plain");  

//add a subject  
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,"subject");  

String msg = https://play.google.com/store/apps/detailsid=com.rovio.amazingalex.premium

//add the message  
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, msg);  

//start the chooser for sharing  
startActivity(Intent.createChooser(shareIntent, "Sharing..."));  

即使我这边没有任何额外的图像,

facebook 拍了一张随机图片,它不是我的应用程序的一部分,但有点与之相关。

例如,当尝试分享“Amazing Alex”时,这是附件图片:

enter image description here

如何更改此图片?

最佳答案

关于android - Facebook 共享中的错误图像 - 使用共享 Intent 时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11705243/

相关文章:

java - 诺基亚 SDK 1.1 的 Facebook 连接实现

ios - Facebook 登录 Swift

facebook - 仅在 ie 中从 facebook 获取空白签名请求

android - 如何在广播接收器中设置闹钟

带有ListView的Android可点击小部件在ListItems上不可点击

php - 从 php 服务器向 android 设备发送批量推送通知

android - 在 Andengine 中使用路径

android - 可移植移动/平板电脑应用程序概念验证

android - 如果AsyncTask未完成,如何设置固定时间

class - 安卓状态机