用相机图片字节数组在Facebook中签到
|
可以在设备上查看图片吗?
我尝试使用\“ 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);
没有找到相关结果
已邀请:
1 个回复
席酱