Exemplo n.º 1
0
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
    boolean returnedValue = false;

    try {

      returnedValue = onActivityOptionsItemSelected(item);

    } catch (Exception e) {
      ExceptionsHelper.manage(this, e);
    }

    return returnedValue;
  }
Exemplo n.º 2
0
  @Override
  protected void onCreate(Bundle savedInstance) {
    try {

      super.onCreate(savedInstance);

      configureActionBar();

      onActivityCreate(savedInstance);

    } catch (Exception e) {
      ExceptionsHelper.manage(this, e);
    }
  }