> There are two problems here that I have stumbled over: (1) How to actually
> launch an app from the card, and (2) how to find from within the
> SysAppLaunch call that an app has been launched from a card so I can store
> the details.

If at first you don't succeed, re-read the docs... Yesterday, going through the docs 
again, I found
one solution to (2) that might be feasible and got a mail regarding (1) that I wanted 
to share it
with you -- for the archives, and for the pathologically curious.

Viz. (2) I quote from the Palm OS Companion, page 216:

"Applications launched from a card ("card-launched" applications) are first sent a
sysAppLaunchCmdCardLaunch launch code, along with a parameter block that includes the 
reference
number of the volume on which the application resides and the complete path to the 
application."

This means that I could, in my trap intercept, look for this launch code and, if 
found, extract the
information. Bob should be my uncle here.

What remains (1) is how to launch the app: David Fedor confirmed the magical nature of 
the Launcher
and suggested that I should do the copy of the app db to main RAM myself, and then 
launch the app.
This leaves me with the responsibility of cleaning out the superflous database once 
I'm done, but
that could be done from the next invocation of SysAppLaunch.

Thanks for your time, patience and interest.

Cheers!

    Karl-Koenig Koenigsson





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

Reply via email to