问题描述
|
可以在设备上查看图片吗?
我尝试使用\“ picture \”捆绑软件,但是它仅在指向URL时有效,而在使用字节数组时不起作用。如果我使用字节数组,图片只是没有显示在墙上。
工作方式:
bundle.putString(\“图片\”,\“ http://www.somewhere.com/picture.jpg \”);
无法运作:
bundle.putByteArray(\“ picture \”,imageByteArray []);
Bundle bundle = new Bundle();
bundle.putByteArray(\"picture\",imageByteArray[]); // load from device
bundle.putString(\"message\",\"The offee is just meh.\");
bundle.putString(\"place\",\"my place id\");
bundle.putString(\"coordinates\",\"my coordinates\");
bundle.putString(\"access_token\",mFacebook.getAccessToken());
mAsyncRunner.request(\"me/checkins\",bundle,\"POST\",new CheckinListener(),null);
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)