當前位置: 首頁>>代碼示例>>Java>>正文


Java ShareSDK.isDebug方法代碼示例

本文整理匯總了Java中cn.sharesdk.framework.ShareSDK.isDebug方法的典型用法代碼示例。如果您正苦於以下問題:Java ShareSDK.isDebug方法的具體用法?Java ShareSDK.isDebug怎麽用?Java ShareSDK.isDebug使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在cn.sharesdk.framework.ShareSDK的用法示例。


在下文中一共展示了ShareSDK.isDebug方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: initDevInfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void initDevInfo(String str) {
    this.a = getDevinfo(d.f);
    this.b = "true".equals(getDevinfo("ShareByAppClient"));
    if (this.a == null || this.a.length() <= 0) {
        this.a = getDevinfo("QQ", d.f);
        if (this.a != null && this.a.length() > 0) {
            copyDevinfo("QQ", NAME);
            this.a = getDevinfo(d.f);
            this.b = "true".equals(getDevinfo("ShareByAppClient"));
            if (ShareSDK.isDebug()) {
                System.err.println("Try to use the dev info of QQ, this will cause Id and SortId field are always 0.");
            }
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:16,代碼來源:QZone.java

示例2: setNetworkDevinfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void setNetworkDevinfo() {
    this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
    if (this.a == null || this.a.length() <= 0) {
        this.a = getNetworkDevinfo(24, SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
        if (this.a != null && this.a.length() > 0) {
            copyNetworkDevinfo(24, 6);
            this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
            if (ShareSDK.isDebug()) {
                System.err.println("Try to use the dev info of QQ, this will cause Id and SortId field are always 0.");
            }
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:14,代碼來源:QZone.java

示例3: initDevInfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void initDevInfo(String str) {
    this.a = getDevinfo(d.f);
    this.b = getDevinfo("AppSecret");
    this.c = "true".equals(getDevinfo("BypassApproval"));
    if (this.a == null || this.a.length() <= 0) {
        this.a = getDevinfo("WechatMoments", d.f);
        this.c = "true".equals(getDevinfo("WechatMoments", "BypassApproval"));
        if (this.a == null || this.a.length() <= 0) {
            this.a = getDevinfo("WechatFavorite", d.f);
            if (this.a != null && this.a.length() > 0) {
                copyDevinfo("WechatFavorite", NAME);
                this.a = getDevinfo(d.f);
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                    return;
                }
                return;
            }
            return;
        }
        copyDevinfo("WechatMoments", NAME);
        this.a = getDevinfo(d.f);
        this.c = "true".equals(getDevinfo("BypassApproval"));
        if (ShareSDK.isDebug()) {
            System.err.println("Try to use the dev info of WechatMoments, this will cause Id and SortId field are always 0.");
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:29,代碼來源:Wechat.java

示例4: initDevInfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void initDevInfo(String str) {
    this.a = getDevinfo(d.f);
    this.b = getDevinfo("AppSecret");
    this.c = "true".equals(getDevinfo("BypassApproval"));
    if (this.a == null || this.a.length() <= 0) {
        this.a = getDevinfo("Wechat", d.f);
        this.c = "true".equals(getDevinfo("Wechat", "BypassApproval"));
        if (this.a == null || this.a.length() <= 0) {
            this.a = getDevinfo("WechatFavorite", d.f);
            if (this.a != null && this.a.length() > 0) {
                copyDevinfo("WechatFavorite", NAME);
                this.a = getDevinfo(d.f);
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                    return;
                }
                return;
            }
            return;
        }
        copyDevinfo("Wechat", NAME);
        this.a = getDevinfo(d.f);
        this.c = "true".equals(getDevinfo("BypassApproval"));
        if (ShareSDK.isDebug()) {
            System.err.println("Try to use the dev info of Wechat, this will cause Id and SortId field are always 0.");
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:29,代碼來源:WechatMoments.java

示例5: b

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
private void b(c cVar) {
    cVar.f = this.c.getDeviceKey();
    cVar.g = this.e;
    cVar.h = this.c.getPackageName();
    cVar.i = this.c.getAppVersion();
    cVar.j = String.valueOf(50000 + this.h);
    cVar.k = this.c.getPlatformCode();
    cVar.l = this.c.getDetailNetworkTypeForStatic();
    if (!"cn.sharesdk.demo".equals(cVar.h) && "api20".equals(this.e) && ShareSDK.isDebug()) {
        System.err.println("Your application is using the appkey of ShareSDK Demo, this will cause its data won't be count!");
    }
    cVar.m = this.c.getDeviceData();
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:14,代碼來源:b.java

示例6: setNetworkDevinfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void setNetworkDevinfo() {
    this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
    this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
    if (this.a == null || this.a.length() <= 0) {
        this.a = getNetworkDevinfo(23, SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
        if (this.a == null || this.a.length() <= 0) {
            this.a = getNetworkDevinfo(37, SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
            if (this.a != null && this.a.length() > 0) {
                copyNetworkDevinfo(37, 22);
                this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                }
            }
        } else {
            copyNetworkDevinfo(23, 22);
            this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
            if (ShareSDK.isDebug()) {
                System.err.println("Try to use the dev info of WechatMoments, this will cause Id and SortId field are always 0.");
            }
        }
    }
    if (this.b == null || this.b.length() <= 0) {
        this.b = getNetworkDevinfo(23, SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
        if (this.b == null || this.b.length() <= 0) {
            this.b = getNetworkDevinfo(37, SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
            if (this.b != null && this.b.length() > 0) {
                copyNetworkDevinfo(37, 22);
                this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                    return;
                }
                return;
            }
            return;
        }
        copyNetworkDevinfo(23, 22);
        this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
        if (ShareSDK.isDebug()) {
            System.err.println("Try to use the dev info of WechatMoments, this will cause Id and SortId field are always 0.");
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:45,代碼來源:Wechat.java

示例7: setNetworkDevinfo

import cn.sharesdk.framework.ShareSDK; //導入方法依賴的package包/類
protected void setNetworkDevinfo() {
    this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
    this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
    if (this.a == null || this.a.length() <= 0) {
        this.a = getNetworkDevinfo(22, SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
        if (this.a == null || this.a.length() <= 0) {
            this.a = getNetworkDevinfo(37, SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
            if (this.a != null && this.a.length() > 0) {
                copyNetworkDevinfo(23, 23);
                this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                }
            }
        } else {
            copyNetworkDevinfo(22, 23);
            this.a = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_ID, d.f);
            if (ShareSDK.isDebug()) {
                System.err.println("Try to use the dev info of Wechat, this will cause Id and SortId field are always 0.");
            }
        }
    }
    if (this.b == null || this.b.length() <= 0) {
        this.b = getNetworkDevinfo(22, SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
        if (this.b == null || this.b.length() <= 0) {
            this.b = getNetworkDevinfo(37, SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
            if (this.b != null && this.b.length() > 0) {
                copyNetworkDevinfo(23, 23);
                this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
                if (ShareSDK.isDebug()) {
                    System.err.println("Try to use the dev info of WechatFavorite, this will cause Id and SortId field are always 0.");
                    return;
                }
                return;
            }
            return;
        }
        copyNetworkDevinfo(22, 23);
        this.b = getNetworkDevinfo(SocializeProtocolConstants.PROTOCOL_KEY_APP_KEY, "AppSecret");
        if (ShareSDK.isDebug()) {
            System.err.println("Try to use the dev info of Wechat, this will cause Id and SortId field are always 0.");
        }
    }
}
 
開發者ID:JackChan1999,項目名稱:boohee_v5.6,代碼行數:45,代碼來源:WechatMoments.java


注:本文中的cn.sharesdk.framework.ShareSDK.isDebug方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。