On Mon, 21 May 2001, [iso-8859-1] Jay Sujee wrote:
> Hi,
> I wanted to know why when going through the Memopad
> Tutorials, I never see any "MemopadDB" created in
> POSE,
> whereas when I create my own appli, say "Palm1" for
> example, and its associated DB Palm1DB,  and when i
> select the menu to remove applis I've installed while
> debugging I find a visible Palm1DB that has been
> created together with the Palm1 appli and no visible
> MemoPadDB although it is created!!
>
> Is it because the memopadAppType 'Memo' and
> MemopadDBType 'Data' are reserved words, while I'm
> using fake 'Palm1DBType' , 'Palm1AppType' and
> creatorID that doesn't exist for the time being???
>
> Regards, JAy ;).


Sounds like you've got some stuff messed up.  You should not see any of
your app's databases in the delete dialog of the application launcher. The
main problem I see here is your use of strange type and appType labels.

Database types and creatorIDs are ALL *4* position alphanumerics.  Your
fake ones are way too long, and are the 1st root of the problem.  You need
to use only 4 characters, like 'XXXX' or something.

Next, the databases that your app creates must have the same creatorID as
the application itself.  Here's a typical way things are set up:

                CreatorID       Type
YourApp         'Yapp'          'appl'
YourAppData     'Yapp'          'data'

Your main app DB (the program itself) is just a database with type 'appl'.
All of your data databases can have the same or different types, as long
as the creatorID is the same.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com


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