Running a Midlet on phoneME, accessing application in background
I am running my app with PhoneME on Windows Mobile 6.5 (HTC HD2). I run my application using lnk file as follows:
255#"\Program Files\pMEA FP\bin\cvm.exe" -f "\Storage Card\workspace\demo\run_config.txt"
and I use run_config.txt to specify run parameter as follows:
-Xmx2m -Dmicroedition.profiles=MIDP-2.0 -Dsun.midp.library.name=midp "-Xbootclasspath/a=\Program Files\pMEA FP\lib\jsr82.jar" "-Dsun.midp.home.path=\Program Files\pMEA FP\midp\midp_wince" -Dcom.sun.midp.mainClass.name=com.sun.midp.main.CdcMIDletSuiteLoader sun.misc.MIDPLauncher -midppath "\Program Files\pMEA FP\midp\midp_wince\classes" -suitepath "\Storage Card\workspace\demo\demo.jar" -1 testMidlets.TempClient
Everything is fine until I press X in the top right hand corner when I want to use other phone functions e.g. phone. If I want then to come back to my currently running j2me application by pressing lnk, it creates new instance of my app while the old one is still there running (I can see it in TaskManager but I can't access it in any way). This is not what I want to run.
Is there any way I can bring back on my screen and continue where I stopped with my already running app?
Mayby some conditional lnk that either run new instance either bring back running app?
Many thanks in advance,