I achieve this by setting the system preferences to have the PDA's buttons and "application to run after reset" point to my application during my application's startup. If your PDA also has voice memo as my T3 does, you'll have to intercept the voice memo button press in your event loop before the voice memo application is run. E.g.
if (event.eType == keyDownEvent)
{
// Ignore the button presses of the
// Voice Memo hard key of the PDA.
if (event.data.keyDown.chr == vchrHard5)
continue;
etc...


}

In your startup procedure, where 'XXXX' is your creator code..........
PrefSetPreference(prefLauncherAppCreator, 'XXXX');

// application to run after a soft reset.
PrefSetPreference(prefDefaultAppCreator, 'XXXX');

PrefSetPreference(prefCalcCharAppCreator, 'XXXX');

PrefSetPreference(prefHardCradleCharAppCreator, 'XXXX');
PrefSetPreference(prefHard1CharAppCreator, 'XXXX');
PrefSetPreference(prefHard2CharAppCreator, 'XXXX');
PrefSetPreference(prefHard3CharAppCreator, 'XXXX');
PrefSetPreference(prefHard4CharAppCreator, 'XXXX');

At 10:29 AM 11/1/2004 -0700, you wrote:
Hello Forum,

MS Pocket PC has a feature that allows you to setup a PDA to run a single
application and no other application.  Is this possible on a Palm device?

Cheers,
Ollie



--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to