I don't know if this will help, but I have been looking into the SD Card
dilemma as well. This was a fairly good reference from Palm - although they
don't really tell you as much as would be nice.

http://www.palmos.com/dev/tech/docs/palmos40/

Kelly


"Karl-Koenig Koenigsson" <[EMAIL PROTECTED]> wrote in message
news:58238@palm-dev-forum...

Hi,

I am playing around with a small app launcher hack -- PhlegmHack/McPhling --
with the intention of extending it. The idea is to patch SysAppLaunch so as
to be able to save previously launched app in a MRU list and thus be able to
launch them again from a small popup menu. I want to add the ability to
launch apps from an expansion card in the same way.

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.

I have no idea how the built-in Launcher manages (1), so any hints as to
where to look are appreciated. SysUIAppSwitch just takes a database ID as
parameter, so I suspect that I will have to copy the database to RAM first,
but am I supposed to delete it as well? I did think at first that the
Launcher would set the dmHdrAttrRecyclable database attribute, thus
rendering the application database open for automatic deletion after
execution.

This was my approach for (2); check for dmHdrAttrRecyclable on the current
database. This does not seem to be the case however; the app has all the
normal database attributes that you would expect, and it gets deleted after
execution anyway. It would be nice to know exactly what the Launcher does;
it seems to be fairly magic in its implementation... ;-)

I have tried to be a good boy and searched the archives several times, as
well as the KB. I asked this question a week ago, but have not seen any
response so far. Have I nevertheless missed something, would I appreciate a
pointer and beg forgiveness for wasting your time.

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