Пример #1
0
 @Override
 public void startActivity(Intent intent) {
   try {
     super.startActivity(intent);
   } catch (Exception e) {
     Log.e(this.getClass().getName(), e.getMessage(), e);
     MessageHandler.showWarningMessage(AppContext.context, e);
   }
 }
Пример #2
0
 @Override
 @Deprecated
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   try {
     onReceiveResult(requestCode, resultCode, data);
   } catch (Exception e) {
     Log.e(this.getClass().getName(), e.getMessage(), e);
     MessageHandler.showWarningMessage(AppContext.context, e);
   }
 }
Пример #3
0
  @Override
  @Deprecated
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    AppContext.setContext(this);
    i(AppContext.context.toString());
    this.params = this.getIntent().getSerializableExtra(PARAM_KEY);

    try {
      onCreateActivity(savedInstanceState);
    } catch (Exception e) {
      Log.e(this.getClass().getName(), e.getMessage(), e);
      MessageHandler.showWarningMessage(AppContext.context, e);
    }
  }
Пример #4
0
 public void e(String message, Throwable throwable) {
   Log.e(tag(), message, throwable);
 }
Пример #5
0
 public void e(String message) {
   Log.e(tag(), message);
 }
Пример #6
0
 public void w(String message) {
   Log.w(tag(), message);
 }
Пример #7
0
 public void i(String message) {
   Log.i(tag(), message);
 }
Пример #8
0
 public void d(String message) {
   Log.d(tag(), message);
 }