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/

Reply via email to