@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Load UI elements
    initializeUI();

    // Volume keys should control alert volume
    Volume.setVolumeKeysAction(this);
  }
示例#2
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Initialize bug tracking
    SplunkMINT.logExceptions(this);

    // Initialize app UI
    initializeUI();

    // Start polling for recent alerts
    pollRecentAlerts();

    // Volume keys should control alert volume
    Volume.setVolumeKeysAction(this);

    // Start the app services
    ServiceManager.startAppServices(this);

    // Got any dialogs to display?
    showImportantDialogs();
  }