Facebook的文档说:
image[{array-index}][url]
image[{array-index}][user_generated]
如何将其放入Bundle
?
我正在做
params.putString("image","<url>");
我也试过
Bundle temp = new Bundle().
temp.putString("url","<url>");
temp.putString("user_generated",true);
params.putBundle("image",temp);
但它无效
答案 0 :(得分:0)
答案很简单:
p.putString("image[0][url]", "<url>");
p.putBoolean("image[0][user_generated]", true);