I'm new to B4A and I'm starting out with writing a simple app with a button when clicked will set the screen brightness at 50%.
I have
Dim phone1 As Phone
in Process_Globals
but I'm getting a compiler err complaining about
Error description: Unknown type: phone
Are you missing a library reference?
How and where do I add the Phone lib module?
Also, in my button click event I have
phone1.SetScreenBrightness(50/255)
Is this correct? I wonder why the argument has that /255?
Thanks...
I have
Dim phone1 As Phone
in Process_Globals
but I'm getting a compiler err complaining about
Error description: Unknown type: phone
Are you missing a library reference?
How and where do I add the Phone lib module?
Also, in my button click event I have
phone1.SetScreenBrightness(50/255)
Is this correct? I wonder why the argument has that /255?
Thanks...