On Wed, Aug 16, 2000 at 11:03:37AM -0700, Nesse, Rustin wrote:
> >> Not if those apps actually utilize their own internal 
> >preferences database
> >> or whatnot to store information.  Its usually easy to do...and it's a
> >> recommended practice with Palm apps.
> >
> >But you have to DO that, and increase size of your application.

> It's the zen of Palm programming.  They're already about 20 - 25% of the
> size of a similar Windows version, so it's not that tough to do.  It's
> like storing just a few fields of data...hardly noticeable.  Actually,
> my app just saves whatever current info to it's database automatically,
> and the preference database recalls the last record and loads it when
> the program is restarted.  You don't have to save the form itself, just
> a pointer to it.  Not that bad at all, really. =)

And most palm programs have very little state information.  Most
Windows programs do.  They take forever just to establish the default
state at startup, one of the reasons you see flash screens, then have
tons of information about the document being acted upon.  Windows
programs can't act like palm programs, but you could theoretically do
a palm paradigm program under Windows CE.  But then the CE devices
wouldn't need more flash than the Palm Vx has RAM.

Windows applications still save preferences (I assume you can set your
email address and preferred fonts), and they "save" the state when you
switch apps - in main memory and in the task structure.  So the
application takes up lots of resources when it is open but not being
used.


-- 
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