2 apps with same creator id's can exist on the device if they have different
database name. Changing db name is a unfortunate policy. This happens easily
in CW if you rename Palm OS target. The correct policy is to rename the
compiled file. (.prc) This won't change the db name and the old version will
be replaced.
Back to the first sentence. The 2 apps can exist on the device, but they
cannot coexist. The user will see 2 icons, but the OS will not be able to
differentiate between both apps. The only way out is to delete one of those
apps (which will delete the other one, too - this is an example of the OS
confusion) and then reinstall the corect one again.
Best regards,
Jan Slodicka
----- Original Message -----
From: "Huiqiang Zhang" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Thursday, January 27, 2005 8:20 AM
Subject: Re: Multiple program versions
> IMPORTANT: Applications with identical creator IDs cannot
> coexist on the same handheld; during installation the new
> application will replace the existing application that possesses the
> same creator ID. Further, the new application could well corrupt
> any databases that were associated with the preexisting
> application. For this reason, all applications should have their own
> unique creator ID.
>
> The doc - Palm OS Companion says like above, but I made test, the result
was
> that both of two applications with same creator ID and different file
names
> really exist there. Maybe it's a joke from Palm OS!^_^
>
> Best Regards,
> ---------------------------------
> Huiqiang Zhang
> Mail: [EMAIL PROTECTED]
> ---------------------------------
> Firma Hoffrichter GmbH
> Mettenheimer Strasse 12/14
> 19061 Schwerin
> www.hoffrichter.de
>
> ----- Original Message -----
> From: "Mark Chauvin" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[email protected]>
> Sent: Wednesday, January 26, 2005 4:55 PM
> Subject: Re: Multiple program versions
>
>
> > The creator ID is the same. I did change the version
> > string in Constructor. I renamed the file to keep
> > track of which version was which. I figured Palm
> > Desktop would delete the older .prc file when I
> > installed the new one, but they're both there in the
> > backup directory. How does it know which file to
> > restore to the handheld after a hard reset? Or does
> > it do both?
> >
> > --- Steven Fisher <[EMAIL PROTECTED]> wrote:
> >
> >> Huiqiang Zhang wrote:
> >> > Did you changed the program's CreatorID or TypeID?
> >> Normally if a new
> >> > version of a program is installed, and it has the
> >> same TypeID as the old
> >> > version program which still exist in the device,
> >> then the Palm OS will
> >> > replace the old version of the program. So if you
> >> make all the versions
> >> > of your program always with the same TypeID and
> >> CreatorID, everything
> >> > will be OK!
> >>
> >> What if the file names vary, i.e. if the PRC is
> >> actually called
> >> Program_v1.0.prc vs. Program_v1.1.prc?
> >>
> >> (No, I don't put version numbers in the name, but it
> >> seems to be
> >> something the OP might have been doing. Maybe I
> >> misunderstood.)
> >>
> >> --
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/