Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Backlight Technology Guide

Backlight Technology Guide for Manufacturersfor Developers

Base version:

1.0

Tested version:

1.0

Phone tested:

No

This Backlight Management Technology Guide describes managing the backlight feature on a mobile device. The guide includes:

  • Information about the IBacklight interface, which is used to get and set backlight values.
  • A code sample that demonstrates the implementation of a device-specific IBacklight interface.
  • A sample application that sets and displays the backlight level on primary and secondary displays and turns the keypad's backlight on and off .

Classes implementing the IBacklight interface are protected. An application that needs to use IBacklight must explicitly specify a dependency on the corresponding backlight class ID in the application's MIF file.

Documentation resources

MIF files are discussed in the Resource File and Markup Reference, which is available both within the Brew® MP Documents folder and on the Brew Mobile Platform Developer Network website.

Interfaces, classes, datatypes, and methods that are available to Brew MP developers are discussed in the Brew Mobile Platform API Reference, which is available both within the Brew MP Documents folder and on Brew Mobile Platform Developer website, at http://developer.brewmp.com/reference/api-all.

High-level architecture

The backlight feature is implemented in the hardware layer of a mobile device. The OEM layer sends battery-related events (such as a low-power warning) to the top-visible Brew MP application, and to background applications that have registered to receive events or notifications.

The backlight feature is implemented in the hardware layer of a mobile device. Brew MP sends battery-related events (such as a low-power warning) to the top-visible Brew MP application, and to background applications that have registered to receive events or notifications.

Comments

GraceLee 05 Apr 2011 11:23pm

It seems to have a typo. OEMBattery.c -> OEMBacklight.c ?

fbarr 06 Apr 2011 04:16pm

Thanks for catching the typo. We will update soon.

SusanG 06 Apr 2011 04:32pm

Done! Thanks for the catch!