LocalID theDBID;
UInt theCardNo;
DmGetNextDatabaseByTypeCreator(true, NULL, sysFileTApplication,
sysFileCAddress, true, &theCardNo, &theDBID);
// Launch the Address Book application.
if (theDBID)
{
SysUIAppSwitch(theCardNo, theDBID, NULL, NULL );
}
This is how you'd launch the Address Book. I believe that this is in the
Knowledge Base or quite possibly the Palm OS Companion. Both System and
the Data manager calls are in the Palm OS Reference, and explained in fairly
adequate detail. Obviously, you'll need to change "sysFileCAddress" if you
want to call a third party app...and you'll need to know the creator id of
that app as well.
-Rus
>-----Original Message-----
>From: Farzin Ashraghi [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 23, 2000 8:06 AM
>To: Palm Developer Forum
>Subject: How to call an application
>
>
>Hi all!
>
>A simple question: How can I call an application programatically?
>
>Thank you!
>Farzin
>
>
>--
>For information on using the Palm Developer Forums, or to
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/