Adjusting screen brightness?

WDawn

New Member
This might be a very stupid question, but i'm totally new here. Is it possible to adjust the screen brightness using basic4ppc code? And if it's possible, how do i do that?

thanks

Vince
 

Erel

Administrator
Staff member
Licensed User
Welcome to the forum Vince.
Not a stupid question at all.

It is not possible to manually adjust the backlight.

You can force the backlight to be active with Hardware.BackLightOn.
You can also open the control panel settings (this will not work on all devices):
B4X:
Shell("\windows\ctlpnl.exe","cplmain,6")
 

derez

Expert
Licensed User
backlight

I use the shell to open the control panel :

Shell("\windows\ctlpnl.exe","BacklightAP.cpl")
 

Chester Wilson

Member
Licensed User
Thanks re backlight: now for Volume

That's helpful re the backlight thanks.
How can we get and set the volume levels please?

Erik Wilson.
 

Erel

Administrator
Staff member
Licensed User
It is better to start a new thread for a new question.

The FMOD library supports playing sounds and music and setting the volume.
 

Chester Wilson

Member
Licensed User
You're right. When I get a reply back from fmod.org I will post it in a new one, as 3.75 seems to have walked the plank, and nothing on their website references windows mobile.

Erik.
 

agraham

Expert
Licensed User
as 3.75 seems to have walked the plank, and nothing on their website references windows mobile.
It's still there. Click the download button at the top of the page then "FMOD 3 Programmers API" under "Links" at mid-right on the page and you get here FMOD music & sound effects system

You want "Windows 32bit" for the desktop and "Windows CE" just underneath it for the device. You want the dll under: fmodapi375ce\api\wce4\armv4
 

mjcoon

Well-Known Member
Licensed User
Top