Help me with the "Turn Off screen" app
Hello world!
I start developing BB10, I want to make a request, there can turn off the screen with 1 button icon on the screen.
How can I do? where should I start from?
Hi dominic9, welcome to the Forums of the Dev Support.
What you're trying to do can be done in 10 BlackBerry, there is no way to stop the screen programmatically.
Your application can set its own brilliance, but it will only apply to your application (brightness will return to normal when you exit / minimize the application), but even if the brightness is set to 0, the screen will be WE and touch screen will result in key events, which means that the user will continue to interact with the screen, but he won't see what it does.
Use this C API to control the brightness of your application:
https://developer.BlackBerry.com/native/reference/core/com.QNX.doc.screen.lib_ref/topic/screen_set_w...
Code snippet:
https://github.com/RodgerLeblanc/TheUnexposedAPIs/BLOB/master/src/backlight/backlight.cpp#L85
Tags: BlackBerry Developers
Similar Questions
-
Problems with restart, turn off, finder app and desktop missing files
I put my macbook (Pro 15 inch Retina 13 end) on 'sleep' last weekend and didn't use it for a few days. Came home and found that my office files have disappeared and the "finder" icon does not work and will not restart. Tried to download El Capilan to see if that helped - but that did not work, or the other. It seems to be downloaded, but accuse mac to OS X Yosemite than current version. When I try to download the OS X El Capitan again, he gets only to restart - which does not happen. In addition, the mac does not have to reboot or turn off the buttons. Any suggestions this is appreciated please
Mac
Reset the NVRAM/PRAM memory. http://support.Apple.com/kb/PH18761
Reset the SMC. Choose the method for "on Mac Laptops with non-removable battery.
https://support.Apple.com/en-us/HT201295
Boot mode safe. https://support.Apple.com/kb/PH21875?locale=en_US
El Capitan
Finder > Applications > install OS X El Capitan.app
Double-click it to start the installation.
-
IPhone 6 continues to go to the turning off of the screen and the screen where I enter my access code to return. I hit Cancel on the stop screen or type my password the password screen and it goes back to the screen, I was on. I did a reset, all settings, but not him erase all content and settings. I went all day without any problems and an ago he started to panic. I took the cover of a few days ago thinking it might be the cause of the problem by pressing the power button, that wasn't the problem. Can someone give me some advice on what could be the problem?
I have not updated my phone to the new IOS
-
the mouse turns off screen by far on one side and not the other way
my mouse turns off the screen along tracks on the right side up to 6 inches of while on the left and up he hits the edge. at the bottom it will turn off screen but only a centimetre or two. I called support but they needed a control on my computer, I was wondering just if theres a way I can fix this without letting someone take on my system.
If another (additional) monitor has been activated, it will appear on the right side and the mouse can move in this area. It seems that this could be happening. Open the display by right-clicking on an empty space in the office, then choose NVIDIA Control Panel or open the ATI Catalyst Control Center, and then check if 2 screens are selected.
-
Need help with the Blue error screen.
I'm having problems with the Blue error screen at startup which said "less than or equal Driver_IRQL_not. He entered the State of memory dump & black screen after that. Nothing was abnormal after checking all the drivers in windows 7 Edition Device Manager Home premium. I'm really lost as to what causes it? My computer is a toshiba satellite laptop computer P840 pourrait-someone ' a please advise me on this matter. Thanks in advance for your patience.
Dear Zigzag3143,
I finally managed to fix the problem by the chance. I had discovered that this problem was caused by the sypnatics of the laptop touchpad driver. Uninstalled A & reinstall it with the correct driver from the laptop manufacturer websites. Did not expect that it is the cause of all the problems. Thank you for your valuable advice.
-
Sporadically, when I turned off my computer, it reached the "Logging Off" screen and seems stuck. I walked away from my computer for a returned more than an hour to find the screen always showing "Logging Off" with the small circle in the middle of spinning. The only way I can close down is to do it manually and then when I use the computer at a later date, I ger the message that my computer has been shut down improperly and I should log in safe mode. This happened only since I upgraded to Windows Vista. My computer is a Toshiba laptop Satellite P105-S6147.
original title: Shutting Down computerHello
Please, try the suggestions made by the former MVP Malkeleah in the following thread:
-
Turning off screen magnification
I need help turning off screen-enlargement. I don't know how it came even to pass so I have no idea how to turn it off. Does anyone know how to disable?
Hello1. are you referring to the zoom or screen Internet Magnifier settings explore?If you are referring to the screen magnifier refer to the steps below.Disable it in the Control Panel, here's how:a. Click Start, all programs, accessories, accessibility and accessibility.
b. click on make the computer easier to see.
c. uncheck Turn on Magnifier and click Save.I hope this helps.Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
HP Photosmart C4650 with the TouchSmart small screen on the left-side printer does not
Original title: printer won't start
I turn on my printer and it won't start. It turns on, but where you put the ink does not move and the scanner will not even move also. He always tells me to place the white paper, but there are already some paper in it. He also tells me that it is printing the alignment paper thing, but he never check or print. It keeps beeping too and continues to change the screen, it's like someone change but no it isn't even touching.
my printer is a HP Photosmart C4650 with the TouchSmart small screen on the left side.Help me!!!Hello
Thank you for visiting Microsoft Community.
According to the description, you are facing problems with the HP printer.
1. What is the exact error message you get?
2. did you last changes before the show?I suggest you try the methods provided below and check if it helps.
Method 1:
Solve printer problems
Method 2:
How can I check my ink or toner levels?
http://Windows.Microsoft.com/is-is/Windows7/how-do-I-change-my-ink-or-toner-levels
Print a document or file
http://Windows.Microsoft.com/en-us/Windows7/print-a-document-or-fileChoose printing options
http://Windows.Microsoft.com/en-us/Windows7/choosing-print-optionsFor more information:
http://h10025.www1.HP.com/ewfrf/wc/contacthp?LC=en&DLC=en&cc=us
Please follow these recommended steps and post if you still experience the problem. I will be happy to provide you with additional options
-
Original title: screen blue Usb_bugcode
NEED HELP!
Hello world. Could someone help me please! My phone hangs with the Blue error screen, and it does on a daily basis. I tried to find a solution online but nothing seems to work. Here are the details:
I have a laptop with Windows 7 Edition Lenovo Home premium (Service pack 1). RAM: 4 GB. 64-bit OS. Intel Core i3-3217U CPU @ 1.80 Ghz
And here's the problem:
Signature of the problem:
Problem event name: BlueScreen
OS version: 6.1.7601.2.1.0.768.3
Locale ID: 4105
More information about the problem:
BCCode: 4A
BCP1: 0000000074EC2E09
BCP2: 0000000000000001
BCP3: 0000000000000000
BCP4: FFFFF88002A84B60
OS version: 6_1_7601
Service Pack: 1_0
Product: 768_1
Files helping to describe the problem:
C:\Windows\Minidump\043015-13057-01.dmp
C:\Users\Jimmy\AppData\Local\Temp\WER-855899-0.SysData.XML
Can you please put step by step directions? I'm not very good with computers, and it's really frustrating! I tried to remove and reinstall the usb drivers but that didn't do anything. I read the other threads on the similar error but couldn't find a solution. Thanks for your support!
Could this be something to do with a monitor Samsung that I use?
KD > lmvm sports
start end module name
fffff880 '075da000 fffff880' 075e2000 SPORTS (postponed)
Image path: \? \C:\Windows\system32\Drivers\SSPORT.sys
Image name: SSPORT.sys
Timestamp: Fri Aug 12 00:07:32 2005 (42FBDA34)
Sum: 0000D 894
ImageSize: 00008000
Translations: 0000.04b0 0000.04e4 0409.04b0 0409.04e4
SSPORT.sys 32-bit Port claim Driver of Samsung Electronics
Samsung ML-1430 series Samsung ML-1430 series USB001 unavailable
You need to update or remove a SSPORT.sys. Zig - zag pointed out to you earlier. Please uninstall this printer and related software.
Type device manager in the search above the Start button box and press ENTER. Find and right-click on the device and click on uninstall from the drop-down list. Restart your computer.
Select the hotkey Windows key + R, type Appwiz.cpl and press ENTER . Place the cursor on Samsung, right-click and select Uninstall from the menu drop down. Restart your computer.
-
Hello! Can someone help me with the address of repair service for Palm TX?
Hello! Can someone help me with the address of repair service for Palm TX?
Good luck and please, let us know here how it works for you. We like to know current resources, which can help to solve the problems of people with these older devices.
-
I opened 2 emails that were in the folder spam from my email and that each contained an attachment zip 2 k and 3 KB. As I could not open directly in my email, I opened the zip files with the "open in" another app option. When you open the zip files at this other app asked me if I wanted to extract zip files in a new folder, I have accepted, in both files .js (javascript) files there. I opened these .js inside this same application files and content files white text on black background and that seems to be a script file. My question is: my iPad Air has been compromised by a scam of viruses, such as the Trojan horse thieves and banking password especially as Dridex or Dyreza, the Trojans and ransomware as Locky, cryptolocker, or Teslacrypt. If that were the case, then what is the solution to get rid of these... Thank you.
Simply delete them. It is not possible to install anything on iOS using this method. For good measure, you can remove and reinstall the application allowing you to open it with, but I don't really have that is actually needed.
-
My computer will not be stopped by using the "turn off computer' under 'Start' (lower left corner)
Hi Harry,.
· What happens when you try to stop?
· You receive an error message or error code?
· Do you remember all the recent changes on the computer before the show?
· What is the service pack installed?
You can check the link below: Windows XP Shut Down and auto-restart issues: http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/russel_02may13.mspx
Advanced Troubleshooting for shutdown problems in Windows XP: http://support.microsoft.com/kb/308029
-
I can't make a connection wifi with my Nook Color camera using a Microsoft MN - 700 wireless router. Can someone help me with the settings that could take care of this problem? I have a Dell netbook and a laptop HP working with the router so I know it works. The Nook also works in a Barnes & Noble store it seems so that the works of Nook. I have a similar problem with a LG Vortex phone where I can't do the wi - fi connection.
Please post on the Support forums technical Nook for help because it is not a Windows 7 problem...
http://bookclubs.barnesandnoble.com/T5/nook-technical-support/BD-p/nooksupport
.. .also than that...
http://www.barnesandnoble.com/u/nook-support-connectivity/379002491/
Don't forget the network encryption type, IE. WPA2/WPA and key/password / password must match the wireless router/access point.
See also this about WPA2 on the MN-700...
-
can someone help me with the link to download hp2050 print drivers that are compatible with windows 8, my software CD is not compatible with windows 8, and I can't use the printer now.
Hello
The installation program "Full Feature" can be found on the following link.
Kind regards
DP - K
-
Can you please provide me with the document merging Mobile APP cost installation nd test script?
You should ask this on the forum of merger App.
Their application is on the public folder store before you can from there:
https://iTunes.Apple.com/us/app/Oracle-Fusion-expenses/id516172076?Mt=8
Maybe you are looking for
-
Qosmio G25: Restore UK disks can work on machine USA?
HelloI attended college in the United Kingdom since last September. Has decided to make use of the Easter hols to start on my Qosmio G25 (G30 to the United Kingdom). Unfortunately restore 2nd disc (3rd if count you the disc from the Qosmio player) ha
-
How to make a model for a quarter fold card
How to make a model for a quarter fold card - horizontal and vertical format
-
Two drivers Windows XP Pro for Satellite A100-233 are missing
I had to load Windows XP Pro on my A100-233 and 2 drivers are missing. For "Modem Device on High Definition Audio Bus" & "SM Bus controller". Some of the function of substitute on top don't work or the other. For example the brightness, Wi - Fi and o
-
Hello everyone, I need help on a problem. I had to replace the hard drive on my g6-1130sl Pavillion and now I want to restore my system from 4 DVD backup created with recovery system until my hard drive was broken. I downloaded from the servers of HP
-
With the help of Windows 7 Ultimate with traditional programs Chinese
Currently I am on Windows Pro 2000 traditional Chinese version (Taiwan) that I bought and brought back to the States with me. With programs more and more does not support this version of Windows, I'm looking to upgrade my OS. My problem is not so muc