Did you try it on a handset? Low level APIs like this one are not very well implemented in the emulator. In fact, they don't emulate backlight at all (unlike Series 40 emulators for example). I would try it on a handset.
I think you use HAL::EBacklight only to query whether backlight control is supported by HAL. That's why it's readonly. You are supposed to use HAL::EBacklightState to actually turn the backlight on/off or query the current state. Does not seem to work on my Nokia 6600 though... Perhaps Series 60 uses different mechanism to control backlight.
Hi I tried using ResetInactivityTime, and also HAL::Backlight, HAL::BacklightStatus, but can't get it to work. could you please give me exact usage of how to switch on the back light of the phone....
Forum posts: 75
There is
HAL::Get(HAL::EBacklight,tmp) returns KErrNone
but
HAL::Set(HAL::EBacklight,tmp) returns KErrNotSupported
HAVE ANYBODY SOLVE THIS PROBLEM?
Did you try it on a handset? Low level APIs like this one are not very well implemented in the emulator. In fact, they don't emulate backlight at all (unlike Series 40 emulators for example). I would try it on a handset.
-Slava
Forum posts: 75
Good luck!
-Slava
Forum posts: 6
but can't get it to work.
could you please give me exact usage of how to switch on the back light of the phone....
thanks
Forum posts: 43