Bob Ebert <[EMAIL PROTECTED]> wrote: > >I'm still waiting to hear the officially legal, sanctioned, and > >endorsed method of determining the current state of the backlight. > > You can't get the state via the Data Manager APIs! > > Okay, so you probably knew that your remark was off-topic... > > The problem is that "determining the current state of the backlight" is not > well defined. Not all devices have a backlight. You may not want to turn > off the backlight on all devices. (Turn it off on the IIIc for example and > you've got an unreadable screen.) > > So the result is there is no platform API to determine the state of "the" > backlight. Yes, but there is a platform API to ascertain the presence of the backlight, and my app uses this. Naturally, if the app determines that there is no backlight, it would not attempt to determine its state. > If you need this, you can always hack. But if you're hacking, you > shouldn't expect us to make it easy for you! Hacks are, by definition, > unsupported. Not a hack, and not hacking! Why does it seem so odd that someone might like to control the backlight (if it is present, naturally) via some means other than the power button? If you're interested, see http://home.att.net/~foursquaredev/Lightning/ -- Roger Chaplin <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
