本文整理匯總了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.");
}
}
}
}
示例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.");
}
}
}
}
示例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.");
}
}
}
示例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.");
}
}
}
示例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();
}
示例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.");
}
}
}
示例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.");
}
}
}