Does your app use globals or segments? Michael wrote:
I'm using the attention manager to display reminders of events. When the person clicks on one of the reminders I want to launch my application. My application will never be running when one of these reminders is launched. I've written all the code for drawing the attention manager and popping it up, but I'm getting errors when I handle the kAttnCommandGoThereswitch (cmd) { case sysAppLaunchCmdNormalLaunch: if ((error = AppStart(phoneNum)) == 0) { FrmGotoForm(INBOX_FORM); AppEventLoop(); AppStop(); } break; case sysAppLaunchCmdAttention: if( ((AttnLaunchCodeArgsType*)cmdPBP)->command == kAttnCommandGoThere) { if ((error = AppStart(phoneNum)) == 0) { FrmGotoForm(INBOX_FORM); // if(launchFlags & sysAppLaunchFlagNewGlobals) // { AppEventLoop(); AppStop(); // } } } else DrawNewMessAlarm((AttnLaunchCodeArgsType*)cmdPBP); //this is where the functions for drawing the alert go break; default: break; }
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
