use the much-hated (and rightly so) 'hede' notification, and catch penDown event
----
Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Apr 28, 2009 at 10:48 AM, Luc Le Blanc <[email protected]> wrote:
> I want to implement an auto-dimming feature in my app so as to reduce power 
> consumption after x seconds of inactivity (in order to make a device such as 
> an E2 last a full day of cave surveying.)
>
> My only problem: in order to restore previous brightness, I would need a 
> notification broadcast when the user taps (anywhere) on screen, but there 
> does not seem to be one. Relying on a notification would circumvent those 
> times when my app is not the current event handler (ex. when an alert is 
> displayed.) Did I miss something? Or is there another trick? After all, the 
> OS uses such tap events to reset its auto-off timer.
>
>
> Luc Le Blanc
> http://www.speleo.qc.ca/Auriga
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/
>

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

Reply via email to