当前位置: 首页>>代码示例>>Java>>正文


Java UMSsoHandler.authorizeCallBack方法代码示例

本文整理汇总了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);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:12,代码来源:NewLoginAndRegisterActivity.java

示例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());
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:14,代码来源:AccountSettingActivity.java

示例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);
    }
}
 
开发者ID:huang303513,项目名称:Coding-Android,代码行数:10,代码来源:WebActivity.java

示例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();
}
 
开发者ID:huang303513,项目名称:Coding-Android,代码行数:12,代码来源:ShareSinaHelpActivity.java

示例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);
    }
}
 
开发者ID:huijimuhe,项目名称:monolog-android,代码行数:10,代码来源:AbstractActivity.java

示例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);
    }
}
 
开发者ID:SwiftyWang,项目名称:FingerColoring-Android,代码行数:8,代码来源:UmengLoginUtil.java

示例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);
    }
}
 
开发者ID:103style,项目名称:shareTest,代码行数:10,代码来源:MainActivity.java

示例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);
    }
}
 
开发者ID:Jude95,项目名称:Fishing,代码行数:9,代码来源:AboutActivity.java

示例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);
	}

}
 
开发者ID:Grrsun,项目名称:colorread,代码行数:11,代码来源:WebDisplay.java

示例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);
	}
}
 
开发者ID:justingboy,项目名称:CouldBooks,代码行数:10,代码来源:BaiduDetailsActivity.java

示例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);
}
 
开发者ID:rantianhua,项目名称:ShuTuier,代码行数:10,代码来源:ShareFragment.java

示例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);
}
 
开发者ID:rantianhua,项目名称:ShuTuier,代码行数:16,代码来源:LoginActivity.java

示例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);
	}
}
 
开发者ID:poomoo,项目名称:eDao,代码行数:10,代码来源:ShareActivity.java


注:本文中的com.umeng.socialize.sso.UMSsoHandler.authorizeCallBack方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。