Hi,

One of our apps displays some UI when the device is turned on. For many years, 
we've used sysNotifyLateWakeupEvent to get notifications of when this happens. 
Things worked fine until the 755p, but on that device, 95% of the time, that 
app doesn't seem to get the sysNotifyLateWakeupEvent.

The strange thing is that in both the Debug and Release 755p simulators, the 
sysNotifyLateWakeupEvent is received every time, and the application works just 
fine. But not on the real device.

I went back to look at the APIs, in case anything has been added. Nothing new 
is there, but it still says:

"IMPORTANT:  This notification is not guaranteed to be broadcast. Thus, it is 
unsuitable for applications where external hardware must be powered on when the 
device wakes up."

The doc says that one of the reasons you might not get the notification is if 
the user removes the battery. I know this is not the case in my tests, are 
there other reasons why it might not be sent? I can't find any other details in 
the doc.

I've searched the archives, and a few people reported similar problems with the 
680, but I couldn't find a definitive answer. Any advice on what's changed 
would be appreciated, but I guess my problems comes down to two questions:

1. Did something change with sysNotifyLateWakeupEvent, and is there something 
that can be done so that it always gets sent?

2. Is there some better method my application should use to know when the power 
is turned on?

Thanks in advance.

Tom
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to