共享数据,Facebook在Android的 [英] Share data to Facebook in Android

查看:143
本文介绍了共享数据,Facebook在Android的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要共享数据 new_link 以及 news_title 我能够共享数据 NEWS_LINK 但是我想分享 News_title 也与 NEWS_LINK

请告诉我,我怎么会做这这里是我的code:

 意向书I =新意图(Intent.ACTION_VIEW);
i.setData(Uri.parse(https://m.facebook.com/sharer.php?u=+ NEWS_LINK +与& _rdr))
startActivity(ⅰ);


解决方案

我觉得这个链接可以帮助你:
Facebook和Twitter份额移动网络
你只需要提供标题T的说法(当Facebook API不是越野车)

I have to share data new_link as well as news_title I am able share data news_link But I want to share News_title also with news_link.

please tell me how i will do this Here is my code:

Intent i = new Intent(Intent.ACTION_VIEW); 
i.setData(Uri.parse("https://m.facebook.com/sharer.php?u="+news_link+"&_rdr"))
startActivity(i);

解决方案

I think this link can help you: Facebook and twitter share for mobile web You just have to provide the "t" argument for title (when facebook API is not buggy)

这篇关于共享数据,Facebook在Android的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆