To check if a MIDlet is minimized, the Displayable.isShown() method can be used. It is of course preferable to check for a minimized MIDlet this way:
private boolean isOnBackGround(){
boolean isOnBackGround =(BubbleTalk.getDisplay().getCurrent() == null ||
!BubbleTalk.getDisplay().getCurrent().isShown());
return isOnBackGround;
}
For more information regarding minimizing MIDlets in Sony Ericsson, click here.
Thursday, 2 April 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment