Beispiel #1
0
  protected void onDestroy() {
    try {
      backend.closeConnections(); // if application is closed, close connections to server
      if (openGLRenderer != null) {
        openGLRenderer.locating = false;
      }
    } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (IOException e) {
      e.printStackTrace();
    }

    super.onDestroy();
    if (mp != null) mp.release(); // Mediaplayer release;
    mp = null;
  }
Beispiel #2
0
 public void changeZoom(View view) {
   backend.changeZoom();
 }