Exemplo n.º 1
0
 protected void onExposed() {
   debug.info("Exposed");
   /* UiApplication.getUiApplication().popScreen(this);
   Screen activeScreen = UiApplication.getUiApplication().getActiveScreen();
   if (activeScreen.getUiEngine().isPaintingSuspended()) {
       activeScreen.getUiEngine().suspendPainting(false);
   }
   activeScreen.doPaint();*/
 }
Exemplo n.º 2
0
 protected void onObscured() {
   debug.info("Obscured");
   /* Screen activeScreen = UiApplication.getUiApplication().getActiveScreen();
   activeScreen.getUiEngine().suspendPainting(true);
   UiApplication.getApplication().requestForeground();*/
 }