Ejemplo n.º 1
0
 protected void destroyApp(boolean unconditional) {
   mEndNow = true;
   try {
     conn.close();
   } catch (IOException e) {
     System.out.println("destroy app caught");
     e.printStackTrace();
   }
 }
Ejemplo n.º 2
0
 protected void pauseApp() {
   mEndNow = true;
   try {
     conn.setMessageListener(null);
     conn.close();
   } catch (IOException e) {
     System.out.println("pause app caught");
     e.printStackTrace();
   }
 }