Exemplo n.º 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);
   }
 }
Exemplo n.º 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);
   }
 }
Exemplo n.º 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);
    }
  }
Exemplo n.º 4
0
 public void e(String message, Throwable throwable) {
   Log.e(tag(), message, throwable);
 }
Exemplo n.º 5
0
 public void e(String message) {
   Log.e(tag(), message);
 }