In the Palm OS Simulator, you can right click and View -> Databases.  If you know (or 
can find) the name of the database you're interested in, the creator ID is available 
simply by expanding the name.

Other alternatives include device side database browsers.  We're using an old version 
of Insider.

-- Andr�

-----Original Message-----
From: Ryan Bruner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2003 7:48 AM
To: Palm Developer Forum
Subject: Re: How to find the Creator ID


Jeff,

I'm afraid you gave me every bit of information EXCEPT the part I 
didn't already know:  How do you find out the Creator ID of another 
application?  All of the rest of it I already knew how to do. Without 
knowing the Creator ID, however, I can't do much.  I'm not attempting 
to launch a built-in application, but another specific application that 
I have installed on my device. 

Thanks,
Ryan

>> I would like to launch a specific application from within my
>> application.  How do you find out the Creator ID of another 
>> application?
>
>Ryan, you need the app's card # and local id; once you have this, 
>launching it is a matter of calling:
>
>       SysUIAppSwitch(theCardNo, theDBID, sysAppLaunchCmdNormalLaunch, NULL);
>
>You can get the card # and local ID in a variety of ways:
>
>// Way #1:
>LocalID liDbID = DmFindDatabase( 0, "MyApp" )
>
>// Way #2: if you know its creator ID and type already -- see Palm OS 
>Support\Incs\Core\System\SystemResources.h for the creator & types of 
>the build-in apps.  This launches memopad:
>
>DmGetNextDatabaseByTypeCreator(true, &theSearchState, 
>sysFileTApplication, sysFileCMemo, true, &theCardNo, &theDBID);
>
>-Jeff Ishaq




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


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

Reply via email to