Screen backlight

Login to reply to this topic.
Wed, 2004-06-09 14:32
Joined: 2004-06-09
Forum posts: 5
How do I prevent the screen backlight to be switched off? I'm working on a video player and want the backlight kept on during playback.

Thanks,

infidel

Wed, 2004-06-09 23:22
Joined: 2004-05-28
Forum posts: 52
This might be impossible
I think there's a function in the HAL (hardware abstraction layer) which allows you to turn the backlight on or off.

However, I'm not sure if the HAL is a public API (probably) and I'm not sure how you would go about disabling the automatic timer switch off. But you may be able to get somewhere by tinkering with the HAL.

Also, of course, this particular HAL function may not be wired up for a given phone. But I think it normally is.
Thu, 2004-06-10 08:32
Joined: 2003-09-29
Forum posts: 32
Screen backlight
Hi,

one way to prevent back light from switching off is to call User::ResetInactivityTime() periodically. I don't think there is a public API to do this any other way.

--
Jari

Jari

Sat, 2004-06-12 20:19
Joined: 2004-05-30
Forum posts: 2
Screen backlight
User::ResetInactivityTime only works on Series60 phones.

On P800/P900, use this instead:

Code:
TRawEvent event;
event.Set(TRawEvent::EActive);
UserSvr::AddEvent(event);
Delwyn
Mon, 2004-06-14 10:48
Joined: 2004-06-09
Forum posts: 5
Screen backlight
User::ResetInactivityTime answered my questions. Thanks a lot for the answers.

-infi
Tue, 2005-09-20 14:13
Joined: 2004-12-27
Forum posts: 6
Re: Screen backlight
Hi,

is there a possibility to turn on the backlight on a Motorola A925/A1000?

Unfortunately neither User::ResetInactivityTime nor event.Set(TRawEvent::EActive); work Sad

Thank You for Your help
and kind regards
Steve
Wed, 2005-10-12 08:18
Joined: 2004-12-27
Forum posts: 6
Re: Screen backlight
Quote from: sDegen
is there a possibility to turn on the backlight on a Motorola A925/A1000?

Unfortunately neither User::ResetInactivityTime nor event.Set(TRawEvent::EActive); work Sad


Hi there,

can anyone help me  Huh

Thank You and kind regards
Steve
Wed, 2005-10-12 08:27
Joined: 2005-07-16
Forum posts: 127
Re: Screen backlight
Hi sDegen,

Have you got the SDK manual? Which Symbian 0S is in Motorola A925?

Regards,
shagor
Wed, 2005-10-12 08:51
Joined: 2004-12-27
Forum posts: 6
Re: Screen backlight
Quote from: shagor
Have you got the SDK manual? Which Symbian 0S is in Motorola A925?

Hi Shagor,

it's Symbian 7.0 SDK for UIQ like in the P900.
The functions work fine in the P900, but not in the A925?!?

Thanks
Steve
Mon, 2005-11-14 13:42
Joined: 2003-10-10
Forum posts: 123
Re: Screen backlight
There seems to be a entry in hal_data.h called EBacklightState
Mon, 2005-11-14 14:38
Joined: 2004-12-27
Forum posts: 6
Re: Screen backlight
Hi navaron,

thank You very much for Your reply  Smiley

I've found now a solution by using the
RMPowerServer-Class.

Kind regards
Steve
Tue, 2006-07-04 16:22
Joined: 2004-09-16
Forum posts: 6
Re: Screen backlight
Care to share your solution?
Tue, 2006-07-04 17:20
Joined: 2004-12-27
Forum posts: 6
Re: Screen backlight
Quote from: antijn
Care to share your solution?

Of course  Grin

Code:
#include <mpowerserver_clientapi.h>


RMPowerServer rmPow;

rmPow.Connect();
rmPow.InformConditionStart(EMConditionTypeBacklightOn);

rmPow.InformConditionStop(EMConditionTypeBacklightOn);
rmPow.Close();

Kind regards
Steve
Wed, 2006-07-05 08:52
Joined: 2005-11-18
Forum posts: 71
Re: Screen backlight
HI!
All

can any one help me to off backlight Nokia 6680.

thanks and Regards
JKS
  • Login to reply to this topic.