Hi,
I have the feeling that the meanings and generally the types are very badly
documented in the Palm Documentation. Am I wrong here? Or did I just not
look good enough?
Best regards
Tam Hanna

P.s. Thanks for the Info lorraine
Lorraine wrote:
Tam,

I found it in the Preferences.h header file with a comment that sounded
promising enough to try:

typedef enum
{
         ...
         prefDefaultAppCreator,                  // Default application 
launched on reset.
         ...
} SystemPreferencesChoice;

Lorraine

At 01:29 PM 11/4/2004 +0100, you wrote:
>Dear Lorraine,
>Now this is really interesting. Where did you this info?? Will try it 
>out, maybe I can eliminate the TT3 and Sone Clie startup screens like this!
>Best regards
>Tam Hanna
>Lorraine wrote:
>
>
>I used the Pref() API as follows:
>
>PrefSetPreference(prefDefaultAppCreator, 'XXXX');
>
>This is for a soft reset and it works for me.  If my app is the 
>currently running app and I hit the reset button on the back of the 
>PDA, my app starts up again and not any of the Palm apps.  However, in 
>a hard reset, your application and everything else disappears from the 
>RAM so this won't work.  To keep it from disappearing, you'd have to 
>store it in the Flash.  Although, I've never tried it, I think ROM 
>Crafter can do this for you.
>
>Lorraine
>
>At 02:30 PM 11/3/2004 +0100, you wrote:
> >Hi,
> >how do I set the Application to run after Reset? I dont find this 
> >switch in the preferences!
> >Do you do it with a notification??
> >Best Regards
> >Tam Hanna
> >
> >
> >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/



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

Reply via email to