09-27-2011 09:14 AM
Solved! Go to Solution.
09-27-2011 09:24 AM
09-27-2011 09:27 AM
One more thing to be aware of - if you code snippet above is running in the context of the phone listener, the you are not checking the status of *your* application. These listeners run in the context of the calling application.
09-27-2011 09:58 AM
09-27-2011 10:06 AM
02-02-2012 06:39 AM
I am developing a game for blackberry using MIDP.
I want to pause my game when Switch Application menu appear when OEM menu button hold. I put following code In main looping to check is Application foreground or not.
if( ! Application.getApplication( ).isForeground( ) )
if( ! hasNotified )
hasNotified = true;
It work for Firmware above 4.6 but not for 4.6 and below.
I try to trace use JDE 4.6 and found the value of
Application.getApplication( ).isForeground( )
was always true except after App mimized.
Anyone ever facing this issue?
02-02-2012 07:12 AM