Discussion:
Preventing exit
(too old to reply)
Baxter
2003-12-05 00:20:53 UTC
Permalink
I've got a customer that because of union/pay scale issues wants to prevent
the user from exiting my application to the launcher. Basically turning the
unit into a dedicated Data Collector instead of a PDA.

It looks like I can do this by simply not responding to the appStopEvent
ie: change } while (event.eType != appStopEvent);
to } while (1);

Are there any gotchas or downsides to doing this?

--
-------------------------------------------------------------------------
Free software - Baxter Codeworks www.baxcode.com
-------------------------------------------------------------------------
Baxter
2003-12-05 20:14:59 UTC
Permalink
One question that arises is: how does this affect HotSync?

Will not exiting the app prevent HotSync? Can I detect when the app wants
to exit for a HotSync or can I launch a HotSync from within my app?

I've got some info on how I could restart my app on a
sysAppLaunchCmdSyncNotify.
Post by Baxter
I've got a customer that because of union/pay scale issues wants to prevent
the user from exiting my application to the launcher. Basically turning the
unit into a dedicated Data Collector instead of a PDA.
It looks like I can do this by simply not responding to the appStopEvent
ie: change } while (event.eType != appStopEvent);
to } while (1);
Are there any gotchas or downsides to doing this?
--
-------------------------------------------------------------------------
Free software - Baxter Codeworks www.baxcode.com
-------------------------------------------------------------------------
Loading...