David Fedor wrote:
I'm trying to 'lock down' the OS so that ONLY my app will run on the
device, not even the built in launcher, etc. I've got it working
somewhat, and I set 'prefDefaultAppCreator' to my app in an attempt
to survive resets. Hard resets, of course, will wipe out ALL info on
the device, so that's OK, but it's the 'no extensions' (reset+up
button) reset that has me puzzled. It seems that almost all pref
settings will survive the 'no extensions' reset, but the
'prefDefaultAppCreator' gets wiped out. Is there a way to retain
that setting, so that my app will start automatically after that
specific reset?
I can't think of one. The main point of that style of reset was to be
able to recover from situations where an app is crashing on reset, so
it intentionally goes to a "safe" application on startup, and prefs is
about as safe as it gets.
Time to get creative :-) I don't remember if it would pick up a
RAM-based version of the prefs app; if it does, then you could have an
app in RAM with the same creator ID (and/or name?) of the prefs app
and perhaps you'd get launched instead of the ROM-based prefs app.
Worth testing.
-David Fedor
PalmSource, Inc.
Thanks for your response David. Much appreciated. I haven't done any
more work on this over the past week, but I agree that a little
'creativity' will probably be required. Bob.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/