本文整理汇总了Java中com.tencent.connect.auth.QQToken.getAppId方法的典型用法代码示例。如果您正苦于以下问题:Java QQToken.getAppId方法的具体用法?Java QQToken.getAppId怎么用?Java QQToken.getAppId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.tencent.connect.auth.QQToken
的用法示例。
在下文中一共展示了QQToken.getAppId方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PKDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public PKDialog(Context context, String str, String str2, IUiListener iUiListener, QQToken qQToken) {
super(context, 16973840);
this.mWeakContext = new WeakReference(context);
this.mUrl = str2;
this.mListener = new OnTimeListener(context, str, str2, qQToken.getAppId(), iUiListener);
this.mHandler = new THandler(this.mListener, context.getMainLooper());
this.listener = iUiListener;
this.mWebviewHeight = Math.round(185.0f * context.getResources().getDisplayMetrics().density);
f.e(TAG, "density=" + context.getResources().getDisplayMetrics().density + "; webviewHeight=" + this.mWebviewHeight);
}
示例2: TDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public TDialog(Context context, String str, String str2, IUiListener iUiListener, QQToken qQToken) {
super(context, 16973840);
this.c = new WeakReference(context);
this.e = str2;
this.f = new OnTimeListener(context, str, str2, qQToken.getAppId(), iUiListener);
this.j = new THandler(this.f, context.getMainLooper());
this.g = iUiListener;
this.l = qQToken;
}
示例3: PKDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public PKDialog(Context context, String str, String str2, IUiListener iUiListener, QQToken
qQToken) {
super(context, 16973840);
this.mWeakContext = new WeakReference(context);
this.mUrl = str2;
this.mListener = new OnTimeListener(context, str, str2, qQToken.getAppId(), iUiListener);
this.mHandler = new THandler(this.mListener, context.getMainLooper());
this.listener = iUiListener;
this.mWebviewHeight = Math.round(185.0f * context.getResources().getDisplayMetrics()
.density);
f.e(TAG, "density=" + context.getResources().getDisplayMetrics().density + "; " +
"webviewHeight=" + this.mWebviewHeight);
}
示例4: c
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public static void c(Context context, QQToken qqtoken)
{
b(context, qqtoken);
String s = qqtoken.getAppId();
String s1 = (new StringBuilder()).append("Aqc").append(s).toString();
StatConfig.setAutoExceptionCaught(false);
StatConfig.setEnableSmartReporting(true);
StatConfig.setSendPeriodMinutes(1440);
StatConfig.setStatSendStrategy(StatReportStrategy.PERIOD);
StatConfig.setStatReportUrl("http://cgi.connect.qq.com/qqconnectutil/sdk");
try
{
StatService.startStatService(context, s1, "1.0.0");
return;
}
catch (MtaSDkException mtasdkexception)
{
Log.e("DEBUG", "MTA init Failed.");
}
}
示例5: TDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public TDialog(Context context, String str, String str2, IUiListener iUiListener, QQToken
qQToken) {
super(context, 16973840);
this.c = new WeakReference(context);
this.e = str2;
this.f = new OnTimeListener(context, str, str2, qQToken.getAppId(), iUiListener);
this.j = new THandler(this.f, context.getMainLooper());
this.g = iUiListener;
this.l = qQToken;
}
示例6: PKDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public PKDialog(Context context, String s, String s1, IUiListener iuilistener, QQToken qqtoken)
{
super(context, 0x1030010);
o = new WeakReference(context);
i = s1;
k = new g(context, s, s1, qqtoken.getAppId(), iuilistener);
l = new h(k, context.getMainLooper());
j = iuilistener;
p = Math.round(185F * context.getResources().getDisplayMetrics().density);
Log.e(b, (new StringBuilder()).append("density=").append(context.getResources().getDisplayMetrics().density).append("; webviewHeight=").append(p).toString());
}
示例7: TDialog
import com.tencent.connect.auth.QQToken; //导入方法依赖的package包/类
public TDialog(Context context, String s, String s1, IUiListener iuilistener, QQToken qqtoken)
{
super(context, 0x1030010);
n = false;
o = null;
c = new WeakReference(context);
f = s1;
g = new o(context, s, s1, qqtoken.getAppId(), iuilistener);
m = new p(g, context.getMainLooper());
h = iuilistener;
o = qqtoken;
}