| | |
| | | package safeluck.drive.evaluation; |
| | | |
| | | import android.app.Application; |
| | | import android.content.Context; |
| | | import android.os.Environment; |
| | | import android.text.TextUtils; |
| | | import android.util.Log; |
| | |
| | | FailedProjRepository failedProjRepository;//失败项目表数据库 |
| | | RTKWorkRepository rtkWorkRepository;//保存RTK配置表 |
| | | Random random = new Random(); |
| | | |
| | | private static Context appContext=null; |
| | | @Override |
| | | public void onCreate() { |
| | | super.onCreate(); |
| | |
| | | MyLog.createIfNotExist(); |
| | | Stetho.initializeWithDefaults(this); |
| | | |
| | | |
| | | appContext = this; |
| | | |
| | | //数据库操作 |
| | | MyLog.i(TAG, "onCreate111"); |
| | |
| | | |
| | | } |
| | | |
| | | public static Context getAppContext(){ |
| | | return appContext; |
| | | } |
| | | |
| | | @Override |
| | | public void onTerminate() { |
| | | super.onTerminate(); |