android 分享 api

//分享到开心网api
         kaixin = (Button) findViewById(R.id.Button05);
        kaixin.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub

                startActivity(new Intent(
                        Intent.ACTION_VIEW,
                        Uri
                                .parse("http://www.jiathis.com/send/?webid=kaixin001&url=http://ruixiazun.blog.163.com&title=雪山中的狼")));

            }
        });

//分享到人人网 api
    renren = (Button) findViewById(R.id.Button04);
        renren.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub

                startActivity(new Intent(
                        Intent.ACTION_VIEW,
                        Uri
                                .parse("http://www.jiathis.com/send/?webid=renren&url=http://ruixiazun.blog.163.com&title=雪山中的狼")));

            }
        });

分享更多网址的api接口如下:只需修改id 后面跟自定义的url和title、
email http://www.jiathis.com
qzone http://qzone.qq.com
tsina http://t.sina.com.cn
t163 http://t.163.com
renren http://www.renren.com
sohu http://bai.sohu.com
hi http://hi.baidu.com
fanfou http://fanfou.com/
i139 http://go.139.com/
youshi http://www.ushi.cn
hotmail http://www.hotmail.com
feixin http://feixin.10086.cn
fav ——
buzz http://www.google.com
baidu http://cang.baidu.com
tsohu http://t.sohu.com
tqq http://t.qq.com
kaixin001 http://www.kaixin001.com
taobao http://www.taobao.com
xiaoyou http://xiaoyou.qq.com
gmail http://www.gmail.com
ymail http://mail.yahoo.com
51 http://www.51.com/
google http://www.google.com
qq http://shuqian.qq.com/
sina http://vivi.sina.com.cn
yahoo http://myweb.cn.yahoo.com/
hexun http://www.hexun.com
139 http://www.139.com
haoei http://www.haoei.com/
douban http://www.douban.com
xianguo http://www.xianguo.com
renjian http://www.renjian.com
delicious http://www.delicious.com
youdao http://shuqian.youdao.com
msn http://cn.msn.com
live http://favorites.live.com/
115 http://fav.115.com
yesky http://hot.yesky.com
tieba http://tieba.baidu.com
digu http://www.digu.com
zhuaxia http://www.zhuaxia.com
zuosa http://zuosa.com
follow5 http://www.follow5.com
digg http://digg.com
fb http://www.facebook.com
myspace http://www.myspace.com
wealink http://www.wealink.com
leshou http://leshou.com
tongxue http://tongxue.com/
shouker http://www.shouker.com
9fav http://www.9fav.com
99earth http://www.99earth.org
dig24 http://www.dig24.cn
digbuz ——
baohe http://www.baohe.com
twitter http://twitter.com
poco http://www.poco.cn
cnfol http://t.cnfol.com
diglog http://www.diglog.com
waakee http://www.waakee.com
cyzone http://u.cyzone.cn
114la http://www.114la.com
chouti http://www.chouti.com
douban9dian http://9.douban.com
hemidemi http://www.hemidemi.com
yijee http://www.yijee.com
pdfonline http://www.pdfonline.com
translate http://translate.google.com/
diigo http://www.diigo.com
friendfeed http://www.friendfeed.com
mixx http://www.mixx.com
netvibes http://www.netvibes.com
pingfm http://ping.fm
polladium http://www.polladium.com
wong http://www.mister-wong.cn
plurk http://www.plurk.com
ask http://www.ask.com
printfriendly http://www.printfriendly.com
googlereader http://www.google.com/reader/
evernote http://www.evernote.com/
linkedin http://www.linkedin.com
netlog http://www.netlog.com
phonefavs http://phonefavs.com
plaxo http://www.Plaxo.com
reddit http://www.reddit.com
stumbleupon http://www.stumbleupon.com
funp http://www.funp.com
myshare http://www.myshare.com
fwisp http://fwisp.com

你可能感兴趣的:(android,api,url,button)