PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Running GapiDraw Based app in the Background

Hello

I would like to run a GapiDraw Based app in the Background. I would like the application to be started when the device is switched on, but the application must not display anything but run in the background (e.g. listening for directory changes). When the app is selected on the menu, it can then be displayed. Can I do this with a GapiDraw based app.

thanks
You're looking to run the application in what is called 'kiosk' mode. You can do an auto-start the cheap and easy way on Pocket PC devices by creating a shortcut of the executable and placing it in the \Windows\StartUp directory and doing a soft-reset on the device.

There is also a 'kiosk' engine created by SPB that I've not used. You can find it here: http://www.pocketpcdn.com/articles/kiosk.html
Now that I read your message a second time, my explanation above was completely off-base. My apologies.

Yes, you can run a GD application in the background by setting the bMinimizedActive flag in the GDAPPCONFIG struct. This keeps the ProcessNextFrame( ) loop rolling even when the application is minimized. I don't know how well this works on all devices.