Esempio 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;
  }
Esempio n. 2
0
  @Override
  protected void onCreate(Bundle savedInstance) {
    try {

      super.onCreate(savedInstance);

      configureActionBar();

      onActivityCreate(savedInstance);

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