本文整理汇总了Java中com.deploygate.sdk.DeployGate.install方法的典型用法代码示例。如果您正苦于以下问题:Java DeployGate.install方法的具体用法?Java DeployGate.install怎么用?Java DeployGate.install使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.deploygate.sdk.DeployGate
的用法示例。
在下文中一共展示了DeployGate.install方法的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();
}