本文整理汇总了Java中com.deploygate.sdk.DeployGate类的典型用法代码示例。如果您正苦于以下问题:Java DeployGate类的具体用法?Java DeployGate怎么用?Java DeployGate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DeployGate类属于com.deploygate.sdk包,在下文中一共展示了DeployGate类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override public void onCreate() {
super.onCreate();
Fabric.with(this, new Crashlytics());
DeployGate.install(this);
AndroidThreeTen.init(this);
Timber.plant(BuildConfig.DEBUG ? new Timber.DebugTree() : new Timber.Tree() {
@Override protected void log(int priority, String tag, String message, Throwable t) {
if (priority == Log.ASSERT || priority == Log.DEBUG || priority == Log.VERBOSE) {
return;
}
Log.println(priority, tag, message + Log.getStackTraceString(t));
}
});
mDaggerGraph = DaggerGithubComponent.builder()
.githubModule(new GithubModule(this))
.build();
}
示例2: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate()
{
super.onCreate();
DeployGate.install(this);
}
示例3: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
DeployGate.install(this);
}
示例4: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
DeployGate.install(this, null, true);
}
示例5: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
DeployGate.install(this);
togglApp = this;
cacheManager = CacheManager.getInstance();
initLogin();
Routes.build(getApplicationContext().getString(
R.string.api_service_path));
TogglServicesImpl.build(mCurrentUser);
this.mTogglServices = TogglServicesImpl.getInstance();
Intent i = new Intent(this, TimeTrackingService.class);
// startService(i);
this.mUserUpdateBroadcastReceiver = new UserUpdateBroadcastReceiver(
this);
bindService(i, mTimeTrackingServiceConnection, Service.BIND_AUTO_CREATE);
setUpContinuousNotificationChecker();
}