In order to let users predetermine the screen auto-dimming level
they want, I tried calling the UIBrightnessAdjust API and then
recover the new screen brightness with SysLCDBrightness,
before restoring the original brightness. Oddly, the
UIBrightnessAdjust API is asynchronous: it acts as if it enqueued
an event to later pop up that system dialog, making it hard to
recover the user-chosen dim level right away, before returning to
previous brightness level. Did I miss something?

Things work better when sublaunching BrightnessFix, except on
the Simulator, where an error message pops up about loading a
"*" app that cannot be found. Any way this can work on the Simulator too?


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

Reply via email to