You're allowed to bundle brightnessfix with your app, but be careful,
as it has a very precisely-defined set of devices it works on, and
exactly zero checks for not-being-that-device. (The current version -
BrightnessFix.NG works on ALL palms with intel X-scale processors, and
that is it)
B
Does any system event happen before the UI show?
If so, you can trap it before SysHandleEvent, and then enque your event.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
Lionscribe wrote:
> So how about enqueing a custom event after calling the API?
> Thus your event will be handled after the system screen shows.
> You will be able to get the brightness when you get the custom
> event.
Brillant! But it doesn't work: I enqueue a custom event after calling
UIBrigh
So how about enqueing a custom event after calling the API?
Thus your event will be handled after the system screen shows.
You will be able to get the brightness when you get the custom event.
Lionscribe
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http:
brightnessfix is a native arm app/hack/etc, that among other things
messes with memory mapping, hardware access, and palmos globals. it
CANNOT be duplicated on the simulator. But you can replace it with
your own app, that does nothing on the sim, for sim-based testing.
Best Regards,
Dmitry G
Ryan Rix wrote:
> Also, on that note, why do you need to change the brightness in
> simulator?
Only so that all features can be tried and tested on Simulator. Convenient both
for me and potential users. Nothing else. But if I'm to run Gremlins, I better
prevent this from happening.
Luc Le Bla
Also, on that note, why do you need to change the brightness in simulator?
On Wed, Apr 29, 2009 at 3:42 PM, Ryan Rix wrote:
> Probably not as I'm pretty sure BirghtnessFix is a nice little hack and the
> sim doesn't really 'do' hacks of any sort.
>
> Plus, isn't it arm code?
>
> On Wed, Apr 29,
Probably not as I'm pretty sure BirghtnessFix is a nice little hack and the
sim doesn't really 'do' hacks of any sort.
Plus, isn't it arm code?
On Wed, Apr 29, 2009 at 3:28 PM, Luc Le Blanc wrote:
> In order to let users predetermine the screen auto-dimming level
> they want, I tried calling th
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 enqu