At 10:14 AM 6/20/2003 +0300, iyad abu-shaera wrote:
I don't know if my question was clear!!
but my purpose is:
I want to create an application but this application needs another one to be activated before it is launched.. so I want to call that application when mine start and then do a check box event to that one automatically (programaticaly), then return back to my application..
Is it possible?

I'm not sure if I follow you, but there are a few ways for applications to communicate with eachother. The easiest would be to send a launch code; using the Helper API is a fancy way of doing this.


http://www.palmos.com/dev/support/docs/palmos/AppStartupAndStop.html#972381

From a design perspective, I think the best way to do this is the one that couples the two applications together the very least. To this end, I would have both applications share the format of a preferences file / PDB that one creates on the device. When the checkbox needs to be enabled, I would set the appropriate bit in this preferences file, and then send a launch code to the other app that says "reapply the preferences now." This is a little more extensible than having a very specialized "turn the checkbox on" launch code.

-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