用相机图片字节数组在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);
    
已邀请:
我不确定,因为我从未真正尝试过使用“签到”,但是您不能使用本地URL吗?例如,将字节数组保存在SDCARD上的JPG文件中,然后提供一个“ 1” URL。     

要回复问题请先登录注册