Re: determining the foreground program

2005-10-20 Thread Jan Slodicka
Hello, > Is the only way to not bother a user while the phone app is open to watch every application that opens ... if the basic interest is on the detecting the phone activity, then using PhnLibGetPhoneCallStatus might be the solution. With best regards, Jan Slodicka Resco, Palm Divisio

Re: determining the foreground program

2005-10-20 Thread Jeff Summers
This doesn't exactly answer your question, but might suggest a work around. Check the Attention Manager functions, and see if a gentle interruption might generally be warranted that can be dismissed if the user is busy, whatever app is running. /js In your message regarding Re: determinin

Re: determining the foreground program

2005-10-19 Thread Logan Shaw
Andrew wrote: I apologize for not making myself more clear. How can I make my program know that a certain application is open (like the phone app on the treo) so I can reschedule the alarm for a more convenient time? pxaclocker gets notified and can take appropriate actions whenever an applicat

Re: determining the foreground program

2005-10-19 Thread Robert Moynihan
Andrew wrote: Is the only way to not bother a user while the phone app is open to watch every application that opens and take note of it and deal with it accordingly when the program is woken up I believe this is correct. There doesn't seem to be a good way to detect which app is in the for

Re: determining the foreground program

2005-10-19 Thread Andrew
I apologize for not making myself more clear. How can I make my program know that a certain application is open (like the phone app on the treo) so I can reschedule the alarm for a more convenient time? pxaclocker gets notified and can take appropriate actions whenever an application is opened

Re: determining the foreground program

2005-10-19 Thread Jeff Summers
If you control the program (if the program is yours) you can set a flag in a DB on startup, clear on shutdown, and check that flag in the alarm routine. /js In your message regarding determining the foreground program dated Wed, 19 Oct 2005 22:06:12 -, Andrew said that ... > How can

determining the foreground program

2005-10-19 Thread Andrew
How can one determine what program is running for an application that has been called by the alarm manager, to determine if the program wants to launch or not/reschedule relaunch, etc... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.pal