At 12:45 PM 4/26/2004, you wrote:
I launch a Network Panel from within my app and want to return to my app.  I
use this command:
LaunchWithCommand(sysFileTPanel, sysFileCNetworkPanel,
                  sysAppLaunchCmdPanelCalledFromApp, NULL);

This works fine and returns to my app for all OS versions except Cobalt
(OS6) on the simulator.  For Cobalt, even though it does provide a "Done"
button, it ASSUMES that the app that launched it was the "Preferences" app
which is where it "returns" me.

I just looked at the Palm OS Cobalt code, and you're correct. The current implementation of pref panels on Cobalt will only return to the Prefs application, as best I can tell. When you hit "Done", the panel is actually launching the system's default application.


As best I can tell, the reasoning is that you can use the Palm OS Protein API SysAppLaunch to call the pref panel now and not have to use special system mechanisms to return to your application. I don't know if you can do that from a 68K app on Palm OS Cobalt, but it's worth trying.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to