本文整理汇总了Java中com.xsj.crasheye.Crasheye类的典型用法代码示例。如果您正苦于以下问题:Java Crasheye类的具体用法?Java Crasheye怎么用?Java Crasheye使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Crasheye类属于com.xsj.crasheye包,在下文中一共展示了Crasheye类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onCreate
import com.xsj.crasheye.Crasheye; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
appContext = this;
//SDK初始化
IMClient.init(appContext);
// AVClient.init(this);
LogFileUtil.isWrite=true;
CrashReport.initCrashReport(appContext);
appKeyInit();
reloginCallBack();
//agora
Crasheye.initWithNativeHandle(this, "06798b00");
//volley
mRequestQueue = Volley.newRequestQueue(appContext);
mApi = new ApiTemplate(mRequestQueue, httpConfig.URL);
initlocation();
}
示例2: onCreate
import com.xsj.crasheye.Crasheye; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
Crasheye.init(this, "0b24e040");//接入crasheye
// 初始化参数依次为 this, AppId, AppKey
AVOSCloud.initialize(this,"S0QwaXok0D25AhW1PHz5POw6-gzGzoHsz","sJTJwppz8IOiPeVvKYNqIygU");
// 放在 SDK 初始化语句 AVOSCloud.initialize() 后面,只需要调用一次即可
AVOSCloud.setDebugLogEnabled(true);
}
示例3: onCreate
import com.xsj.crasheye.Crasheye; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
Crasheye.init(this, "eb53bd80");
}