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


Java Constants.REQUEST_QZONE_SHARE属性代码示例

本文整理汇总了Java中com.tencent.connect.common.Constants.REQUEST_QZONE_SHARE属性的典型用法代码示例。如果您正苦于以下问题:Java Constants.REQUEST_QZONE_SHARE属性的具体用法?Java Constants.REQUEST_QZONE_SHARE怎么用?Java Constants.REQUEST_QZONE_SHARE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.tencent.connect.common.Constants的用法示例。


在下文中一共展示了Constants.REQUEST_QZONE_SHARE属性的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onActivityResult

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_QQ_SHARE) {
        SocialSDK.shareToQCallback(requestCode, resultCode, data);
        finish();
    }

}
 
开发者ID:yangjie127,项目名称:ESSocialSDK-master,代码行数:10,代码来源:SocialShareActivity.java

示例2: onActivityResult

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (requestCode == Constants.REQUEST_QZONE_SHARE || requestCode == Constants.REQUEST_QQ_SHARE) {
        SocialSDK.shareToQCallback(requestCode, resultCode, data);
    }

}
 
开发者ID:yangjie127,项目名称:ESSocialSDK-master,代码行数:9,代码来源:ShareActivity.java

示例3: onActivityResult

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    LogInfo.log("fornia", "SharePageActivity onActivityResult");
    if (requestCode == Constants.REQUEST_QQ_SHARE && resultCode == 0) {
        LogInfo.log("fornia", "SharePageActivity 1onActivityResult");
        finish();
    }
    if (requestCode == Constants.REQUEST_QZONE_SHARE && resultCode == 0) {
        LogInfo.log("fornia", "SharePageActivity 2onActivityResult");
        finish();
    }
    if (this.mSsoHandler != null) {
        this.mSsoHandler.authorizeCallBack(requestCode, resultCode, data);
    }
    LogInfo.log("fornia", "SharePageActivity onActivityResult resultCode" + resultCode);
}
 
开发者ID:JackChan1999,项目名称:letv,代码行数:15,代码来源:SharePageActivity.java

示例4: onActivityResult

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE) {
        if (mIUiListenerWrap != null)
            Tencent.handleResultData(data, mIUiListenerWrap);
    } else if (requestCode == Constants.REQUEST_LOGIN) {
        if (mQQLoginHelper != null)
            mQQLoginHelper.handleResultData(data);
    }
}
 
开发者ID:chendongMarch,项目名称:SocialSdkLibrary,代码行数:10,代码来源:QQPlatform.java

示例5: onActivityResult

@Override
public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data, SocializeListeners.ShareListener listener) {
    super.onActivityResult(activity, requestCode, resultCode, data, listener);
    if (requestCode == Constants.REQUEST_QZONE_SHARE) {
        Log.d(TAG, "handle on activity result");
        Tencent.onActivityResultData(requestCode, resultCode, data, mUiListener);
    }
}
 
开发者ID:Bilibili,项目名称:BiliShare,代码行数:8,代码来源:QQZoneShareHandler.java

示例6: onActivityResult

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE) {
        Tencent.onActivityResultData(requestCode, resultCode, data, null);
    }
}
 
开发者ID:xyzlf,项目名称:ShareSDK,代码行数:7,代码来源:ShareHandlerActivity.java

示例7: QQCallBack

/**
 * 保证QQ 登录、分享,QQ空间分享成功回调,此方法应在 activity onActivityResult(int requestCode, int resultCode, Intent data)
 * 中调用,并且调用顺序先于super.onActivityResult(requestCode, resultCode, data);
 *
 * @param requestCode 对应于 activity 中的 requestCode
 * @param resultCode  对应于 activity 中的 resultCode
 * @param data        对应于 activity 中的 activity
 * @param listener    绑定的监听器,一般情况下是null,如果没有回调,则此处要传入相应的监听器
 */
public void QQCallBack(int requestCode, int resultCode, Intent data, QQListener listener) {
    switch (requestCode) {
        case Constants.REQUEST_LOGIN:
        case Constants.REQUEST_APPBAR:
            Tencent.onActivityResultData(requestCode, resultCode, data, listener);
            break;
        case Constants.REQUEST_QQ_SHARE:
            Tencent.onActivityResultData(requestCode, resultCode, data, listener);
            break;
        case Constants.REQUEST_QZONE_SHARE:
            Tencent.onActivityResultData(requestCode, resultCode, data, listener);
            break;
    }
}
 
开发者ID:BruceHurrican,项目名称:asstudydemo,代码行数:23,代码来源:QQLoginAndShare.java

示例8: doShareCallback

@Override
public boolean doShareCallback(int requestCode, int resultCode, Intent data) {
    if (requestCode == Constants.REQUEST_QQ_SHARE
            || requestCode == Constants.REQUEST_QZONE_SHARE) {
        if (callback != null) {
            Tencent.onActivityResultData(requestCode, resultCode, data, generateShareListener());
        }
        return true;
    }
    return false;
}
 
开发者ID:zhaozepeng,项目名称:ShareManager,代码行数:11,代码来源:TencentShare.java

示例9: onResult

@Override
public void onResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == Constants.REQUEST_QQ_SHARE || requestCode == Constants.REQUEST_QZONE_SHARE) {
        Tencent.onActivityResultData(requestCode, resultCode, data, mListener);
    }
}
 
开发者ID:czy1121,项目名称:sdk3rd,代码行数:6,代码来源:TXShare.java


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