> error = SysUIAppSwitch(0,dbID,sysAppLaunchCmdNormalLaunch,NULL);
>
>In debugging the code, no error value is returned in "error" after
>execution of this line.  And I make sure the dbID is valid before the
>call.  But on the device I get this Fatal Error message
>
>Main.c, Line:290, Could not launch application ("Reset" is the only
>option)

wait a minute.  you say that you are calling SysUIAppSwitch.  but the error
message you're getting comes from using the AppLaunchWithCommand macro or
the AppCallWithCommand.  and the ONLY way to get that error message is for
SysUIAppSwitch to have returned a non-zero error code.  why don't you try
putting the code for AppLaunchWithCommand directly into your app, instead of
using the macro, and then look at the value of "error" _after_
SysUIAppSwitch returns.



Reply via email to