本文整理汇总了Java中com.umeng.socialize.sso.UMSsoHandler.authorizeCallBack方法的典型用法代码示例。如果您正苦于以下问题:Java UMSsoHandler.authorizeCallBack方法的具体用法?Java UMSsoHandler.authorizeCallBack怎么用?Java UMSsoHandler.authorizeCallBack使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.umeng.socialize.sso.UMSsoHandler
的用法示例。
在下文中一共展示了UMSsoHandler.authorizeCallBack方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == -1 && requestCode == 11) {
AccountUtils.login(this.activity);
return;
}
UMSsoHandler ssoHandler = this.mController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例2: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
UMSsoHandler ssoHandler = this.mController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
if (requestCode == this.CHANGE_PROFILE) {
if (resultCode == -1) {
refreshUserView();
}
EventBus.getDefault().post(new UserIntEvent());
}
}
示例3: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
UMSsoHandler ssoHandler = CustomShareBoard.getShareController().getConfig().getSsoHandler(
requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例4: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
UMSsoHandler ssoHandler = CustomShareBoard.getShareController().getConfig().getSsoHandler(
requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
finish();
}
示例5: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
/**使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = mShareController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例6: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
public void onActivityResult(int requestCode, int resultCode, Intent data) {
UMSsoHandler ssoHandler = mController.getConfig().getSsoHandler(
requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例7: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
/**使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = mController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例8: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
UMSsoHandler ssoHandler = SocializeConfig.getSocializeConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例9: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
/** 使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = mController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例10: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
UMSsoHandler ssoHandler = SocializeConfig.getSocializeConfig()
.getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}
示例11: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
/**使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = controller.getConfig().getSsoHandler(requestCode) ;
if(ssoHandler != null){
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
super.onActivityResult(requestCode, resultCode, data);
}
示例12: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
/**使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = controller.getConfig().getSsoHandler(requestCode);
if(ssoHandler != null){
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
if(requestCode == com.tencent.connect.common.Constants.REQUEST_API) {
if (resultCode == com.tencent.connect.common.Constants.RESULT_LOGIN) {
tencent.handleLoginData(data, qqLoginListener);
}
}
super.onActivityResult(requestCode, resultCode, data);
}
示例13: onActivityResult
import com.umeng.socialize.sso.UMSsoHandler; //导入方法依赖的package包/类
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
/** 使用SSO授权必须添加如下代码 */
UMSsoHandler ssoHandler = mController.getConfig().getSsoHandler(requestCode);
if (ssoHandler != null) {
ssoHandler.authorizeCallBack(requestCode, resultCode, data);
}
}