"Greg Lutz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> At 12:19 PM 9/8/2003, Matt Graham wrote:
> >Our product has to be able to be updated wirelessly.  Has anyone done
this
> >before and how have you done it? Right now we're thinking about having a
> >separate PRC that does the updating but then we're having the problem of
> >also having to be able to update the update PRC.  This is all doable but
I'm
> >thinking there might be an easier way.
>
> Updating the application itself is a different problem,
> but I just ran a small experiment on Palm OS 4.0 that suggests a possible
> solution:  though you can't overwrite an executing application, you can
> *rename* the executing application database.  It's as simple as this:
>
>      UInt16 cardNo;
>      LocalID dbID;
>      SysCurAppDatabase(&cardNo, &dbID);
>      DmSetDatabaseInfo(cardNo, dbID, "AppDotOld", NULL,
>          NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
>
> Once this has been done, Palm OS won't object to your installing a new
> application database with the name your application used to have; when the
> newly installed one gets a chance to execute, it could go out and delete
> any database it finds called "AppDotOld" (or whatever).

I tried this in 4.0 and it worked, but in OS 5, it will have to at least
work differently.  I was able to rename the application database, but I ran
in to trouble with the a68k application database. I was hoping I could get
some info about this database.

What is this database for?
Do I have to rename it? (I had trouble doing this)
If I just ignore it and rerun a different application with the old apps
name, does the a68k database need to be overwritten with info from the new
application?  If so, will this be done automatically?

Thanks,
Matt Graham



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

Reply via email to