Java Code Examples for com.tencent.bugly.beta.Beta#installTinker()

The following examples show how to use com.tencent.bugly.beta.Beta#installTinker() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AcgClubLike.java    From AcgClub with MIT License 5 votes vote down vote up
@Override
public void onBaseContextAttached(Context base) {
  super.onBaseContextAttached(base);
  MultiDex.install(base);
  Beta.installTinker(this);

  if (mCommonApplicationLike == null) {
    mCommonApplicationLike = new CommonApplicationLike(TinkerManager.getApplication());
  }
}
 
Example 2
Source File: MyApplication.java    From Pic2Ascii with MIT License 5 votes vote down vote up
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(base);


    // 安装tinker
    Beta.installTinker();
}
 
Example 3
Source File: ReadhubApplicationLike.java    From JReadHub with GNU General Public License v3.0 5 votes vote down vote up
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override
public void onBaseContextAttached(Context base) {
    super.onBaseContextAttached(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(base);

    // 安装tinker
    Beta.installTinker(this);
}
 
Example 4
Source File: BaseApplication.java    From NewFastFrame with Apache License 2.0 5 votes vote down vote up
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    applicationDelegate = new ApplicationDelegate(base);
    applicationDelegate.attachBaseContext(base);
    MultiDex.install(this);
    Beta.installTinker();
}
 
Example 5
Source File: SampleApplicationLike.java    From HotFixDemo with MIT License 5 votes vote down vote up
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override
public void onBaseContextAttached(Context base) {
    super.onBaseContextAttached(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(base);
    // 安装tinker
    Beta.installTinker(this);
}
 
Example 6
Source File: MyApplication.java    From HotFixDemo with MIT License 5 votes vote down vote up
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(mContext);
    // 安装tinker
    // 此接口仅用于反射Application方式接入。
    Beta.installTinker();
}
 
Example 7
Source File: SampleApplicationLike.java    From Bugly-Android-Demo with Apache License 2.0 5 votes vote down vote up
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override
public void onBaseContextAttached(Context base) {
    super.onBaseContextAttached(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(base);

    // TODO: 安装tinker
    Beta.installTinker(this);
}
 
Example 8
Source File: MyApplication.java    From Bugly-Android-Demo with Apache License 2.0 5 votes vote down vote up
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    // you must install multiDex whatever tinker is installed!
    MultiDex.install(base);

    // 安装tinker
    Beta.installTinker();
}