Ok, so far, I have figured out that I can register for a notification on 
App launches.  I can then save away the current app so when a 
notification comes in, I will know what app was running right before my 
app was launched.

If there is a better way to do this, let me know.

Thanks,

Chris

> In article <[EMAIL PROTECTED]>,
>  "Aaron Ardiri" <[EMAIL PROTECTED]> wrote:
> 
> > > > SysCurAppDatabase() <-- currently active application.
> > > 
> > > Cool.  Don't know why I didn't see that one.  If my app is launched for 
> > > a notification while another app is running, I assume that that app will 
> > > be returned with the SysCurAppDatabase() call, right?
> > 
> > no, it returns the app that has the active *foreground* context.
> > 
> > ---
> > Aaron Ardiri
> > [EMAIL PROTECTED]
> > http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]
> > 
> 
> Yeah, I just found that out when I tried it.  Any way to determine which 
> app caused the event which brought my app up?  Or which app was the last 
> app to be in the current context?  
> 
> Thanks,
> 
> Chris
>

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

Reply via email to