Ben Combee wrote:
> 
> >The application didn't have dmHdrAttrBundle set.  It does now.
> >Unfortunately the behavior when beaming or launching from an SD card
> >hasn't changed.
> 
> Is the application and its databases in the /Palm/Launcher folder on the SD
> card?
> 
> I didn't see anything odd in the header dumps.  This should be working.  On
> what device are you testing this?
> 
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
>     "Combee on Palm OS" weblog: http://palmos.combee.net/
>     Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/

Yes, the prc and pdb files are (and were) in the SD card's
/PALM/Launcher folder.

I've been testing with three devices:

- palmOne Zire 31 running PalmOS version 5.2.8
- Garmin iQue 3600 running PalmOS version 5.2.1r3
- palmOne m105 running PalmOS version 3.5.2

Concerning the beaming problem ...
It appears that the older device/OS is the culprit.  Attempting to beam
the bundled prc and pdb files from or to the m105 results in the
transfer of only the prc file.  When beaming between the Zire 31 and the
iQue 3600, the whole bundle gets transferred.

Concerning the card launch problem ...
This is a little more convoluted (self-inflicted) and I haven't sorted
it out completely.  The convolution stems from my attempts to get the
card launch (in which the application and databases are normally deleted
from primary memory when another application is launched) to behave like
an installation from card (in which the application doesn't run when
launched from a card but instead gets copied to primary memory).  The
sysAppLaunchStartFlagNoAutoDelete start flag didn't seem to cause the
desired behavior, but detecting the sysAppLaunchCmdCardLaunch launch
code and subsequently (and rudely?) calling SysReset() from
StartApplication() seems promising: letting the OS copy the bundled
application from the SD card, but resetting before it has a chance to
delete them.  Do you know of a better approach to accomplishing this
'installation from card' behavior?  My reason for wanting it is to give
users read/write databases without requiring them to install a file
manager application or setup desktop synchronization to install the
databases in primary memory.

Greg

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

Reply via email to