You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
482 B
22 lines
482 B
package com.jiangdg.usbcamera.application;
|
|
|
|
import android.app.Application;
|
|
|
|
import com.jiangdg.usbcamera.utils.CrashHandler;
|
|
|
|
/**全局类
|
|
*
|
|
* Created by jianddongguo on 2017/7/20.
|
|
*/
|
|
|
|
public class MyApplication extends Application {
|
|
private CrashHandler mCrashHandler;
|
|
|
|
@Override
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
mCrashHandler = CrashHandler.getInstance();
|
|
mCrashHandler.init(getApplicationContext(), getClass());
|
|
|
|
}
|
|
}
|
|
|