02-02-2012 07:27 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?
Solved! Go to Solution.
02-02-2012 07:38 AM
02-02-2012 08:07 AM
02-02-2012 08:16 AM
ah, sorry, i missed that it is a MIDP app. no clue about that, sorry.
as most devices are above 4.6 nowadays this may not be that big of an issue though.
02-02-2012 08:25 AM