ShareSDK第三方登录
class="brush:java;gutter:true;">case R.id.login_bottom_iv_qq: Platform qq = ShareSDK.getPlatform(QQ.NAME); authorize(qq); break; case R.id.login_bottom_iv_wechat: Platform wechat = ShareSDK.getPlatform(Wechat.NAME); authorize(wechat); break; case R.id.login_bottom_iv_weibo: Platform sina = ShareSDK.getPlatform(SinaWeibo.NAME); authorize(sina); /*Platform weibo = ShareSDK.getPlatform(SinaWeibo.NAME); weibo.SSOSetting(false); //设置false表示使用SSO授权方式 weibo.setPlatformActionListener(this); // 设置分享事件回调 weibo.authorize();//单独授权 weibo.showUser(null);//授权并获取用户信息*/ break;