本文整理汇总了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();
}
开发者ID:donglua,项目名称:GitHubClient,代码行数:22,代码来源:GithubApp.java
示例2: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate()
{
super.onCreate();
DeployGate.install(this);
}
开发者ID:akechi,项目名称:project-l,代码行数:8,代码来源:AppContext.java
示例3: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
DeployGate.install(this);
}
开发者ID:epam,项目名称:JDI,代码行数:6,代码来源:JdiApplication.java
示例4: onCreate
import com.deploygate.sdk.DeployGate; //导入依赖的package包/类
@Override
public void onCreate() {
super.onCreate();
DeployGate.install(this, null, true);
}
开发者ID:ichigotake,项目名称:Pyazing,代码行数:6,代码来源:PazingApplication.java
示例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();
}
开发者ID:darrillaga,项目名称:togg,代码行数:29,代码来源:ToggApp.java
注:本文中的com.deploygate.sdk.DeployGate类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论