> I'm writing a Notifiction Handler and want to know what is current
> user-interface application. ( SysCurAppDatabase won't work because
> it returns database which include Notification handler)

Perhaps this is stating the obvious, but during a SysAppLaunch of your app,
you can tell whether your app is the current UI app by checking the
sysAppLaunchFlagSubCall flag.

If you want to know whether some other app is the current UI app, and you
can modify that app, you can create a feature in that app's AppStart
function and remove it in it's AppStop function. Then the existence of this
feature indicates that the app is the current UI app.

I don't know of any way to generically determine the current UI app using
public APIs.

Can you explain what you're trying to do? This isn't the first time this
issue has come up, so I'm wondering what's driving the need for this
feature.
--
Danny @ Palm

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

Reply via email to