Try this: when you receive the notification you simply preempt the OS by setting the application switching as already handled.
In StarterPalmMain:
switch (cmd) {
case sysAppLaunchCmdNotify:
if ( notifyP->notifyType==sysNotifyVolumeMountedEvent )
notifyP->handled = vfsHandledUIAppSwitch | vfsHandledStartPrc;
break;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
