在Android中使用Graph API从多个图像中选择一个图像并将其发布到墙上

时间:2013-03-29 04:16:31

标签: facebook facebook-graph-api android-facebook

如何从多个图像中选择图像,然后使用Android中的Facebook Graph API发布到墙上。

我知道如何将特定图像发布到墙上,但这次我想知道如何允许用户将图像从多个图像发布到墙上。

举个例子:

  like now i want to show 4 Images (Image1, Image2, Image3, Image4) and let 
  user to select one of them to post to wall

我想通过任何方式实现这个目标,我准备使用网络图像网址或使用可绘制的图像,但我只想制作它...所以需要你的帮助..提前谢谢

将特定图片发布到墙上的代码:

   public void onClick(DialogInterface dialog,
                                public void onClick(DialogInterface dialog,
                                    int which) {
                                Bundle params = new Bundle();

                                params.putString("picture", 
                                        FacebookUtility.HACK_ICON_URL); 
                            }

0 个答案:

没有答案