Subject: Re: Testing Apps on SD Card
From: Mark Cushman <[EMAIL PROTECTED]>
Date: Thu, 26 May 2005 09:46:27 -0400
X-Message-Number: 19

Logan Shaw wrote:
> Just a guess, but what may be going on is this:  when Palm OS wants to
> launch an app on the card, it first copies the PRC to the internal
> RAM.  Then, it launches it.  Then, when the app exits, it erases the
> copy that's in the internal RAM.

Logan, it seems this is exactly what happened.

You might solve this by putting code into your program that sets the "dmHdrAttrRecyclable" flag on the program DB file, which should cause it to be deleted by the OS when the file is closed. But you'd have to test this to make sure it performs as expected and doesn't have any undesirable side effects.

Description from documentation of this flag is as follows
"The database is recyclable. Recyclable databases are deleted when they are closed or upon a system reset."


Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


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

Reply via email to