예제 #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);
 }