Backlight.isEnabled () when the device is locked

Hello

When I check

if(Backlight.isEnabled()){
//whatever
}

and the unit is locked (Eve or key lock), what this post?

I discovered that it returns true, when it is locked. If anyone can check that?

Backlight.isEnabled () method determines whether or not the backlight is currently turned on.

It does not reflect these as locked (Eve or keylock) or not.

For more information see, http://www.blackberry.com/developers/docs/4.7.0api/net/rim/device/api/system/Backlight.html

Tags: BlackBerry Developers

Similar Questions

  • Intercept touch green application event when the device is locked

    Hi, I'm new to blackberry. What I want is I want to take a key event (green or red button) when the device is locked and do specific tasks in my application that runs in the background if this button is pressed. Is this possible? How can I do?

    Just to be 100% accurate, it is possible for a keyListener (look to the top of the class) to pick up some events even when running in the background.  It can be different events when the device is locked.  Indeed, the events may be different depending on whether the "locked" screen is currently displayed or not. And the entire lot is dependent on operating system level, in other words, the same device running two different levels of OS will possess differently in terms of what keys can detect a listener in the background.

    So if you have a BONE and a specific device, so it might be something you can do, especially if it is an older operating system.  However if you try to create something that works generically, then know that I've tried and failed!.

  • Permission to hook our thread of the application when the device is locked

    Hi, expert,

    During recent tests, we discovered that if the user doesn't give allow us certain permissions, but instead of fast approval such as permission to phone. When we access api related phone, OS would show a prompt for authorization, which is planned and well if the device is unlocked. However if the device is locked, our code would be hanging there to wait for the user to grant or deny, however, it would occur only when the device is unlocked. If the entire thread is blocked here.

    It's not good for our substantive application. Just wonder how other people solve this problem. In theory, we could avoid these calls if authorization is prompt device is locked, however it is too difficult to identify all the places because that would be a problem for all the permissions (not just permission to phone) and it would be a nightmare to code maintenance.  Another approach is to refuse authorisation every time that approval is fast. Not sure if we could lower the authorization or not. Any other suggestions on this?

    I did some looking on the internet and did not "find any post related.

    Thanks in advance.

    If the user decides to do it is the problem of the user, not yours.

  • Transfer works if the device is locked

    Hey just wondering does transfer if the devices are locked as I note when you use my iPhone the small icon is displayed only when my iPad is not locked and used but when my iPad is blocked I can't access the small icon on my phone and even on my iPhone iPad

    The device must be in use, according to transfer Bluetooth is active.

  • music player when the screen is locked

    Hello.
    Some devices show a practical widget when the screen is locked, but not of compact z1.
    I usually listen to music on spotify and when I received a call, the cell phone showed the widget on the locked screen. Not to mention that I was able to control spotify with the headset control.
    Then I stuck the screen again and it no longer works.
    I tried to find a configuration, but I couldn't.
    Can someone help me?
    Thank you

    Disable or remove the smart key and see.

  • Motorcycle voice/Google play when the screen is locked

    Anyone has figured out how to get Moto voice/Google now combo to actually do something without unlocking the device? I can't even know that the timer without Google actually say "I can't do that while the device is locked.

    I use the Launcher Nova not Launcher3.

    I think you need to unlock the device. I use BT secure devices, so my camera is usually unlocked.

    Have you tried setting up voice reliable?

  • You need to set the drive letter to the USB Ports front before any device has been inserted - that won't change when the device is connected. I have Windows XP Professional with Visual Studio 6 installed

    You need to set the drive letter to the USB Ports front before any device has been inserted - that won't change when the device is connected. I have Windows XP Professional with Visual Studio 6 installed. Thanks for your help

    diana73,

    First of all, make sure that you're connected Administrators account to do.

    How to change a drive letter to change an existing drive letter on a drive, on a partition, or a volume, follow these steps:

    1. Sign in as an administrator or as a member of the Administrators group.
    2. Click Start , click run and type compmgmt.msc .
    3. In the left pane, and then click disk management .
    4. Right click on the drive, the partition, the logical drive or volume that you want to assign a drive letter to and then click change drive letter and paths .
    5. Click change .
    6. Click assign the following drive letter if it is not already selected, click the drive letter that you want to use, and then click OK .
    7. Click Yes when you are prompted to confirm the drive letter change.

    The letter of the drive, partition, or volume that you specified is changed, and the new drive letter is displayed in the appropriate drive, partition, or volume in the disk management tool.

    Good luck! Please rate me upward if you find my post helpful. Thank you!

  • Can not see the notification when the screen is locked

    When adding exchange (outlook) account, and because it requires security settings, I'm not in a position more to see notifications when the screen is locked.
    I deleted the exchange account, and notifications are visible when the screen is locked.
    To confirm, I added my exchange account again, and notifications is not visible when the screen is locked.
    I need to unlock to see the notification.
    How to solve this problem to take advantage of this last feature.
    Thank you.
    Saami.

    Topic locked as response has been received and there is already a topic about this.

  • BlackBerry Q5 there is no notification when the device restarts?

    My camera Q5 isn't just a notification when the device is restarted. For example, Blockr generated app notification when you restart device in my passport. But there is nothing of Q5. I did autoload or chairs of device suddenly it did not help. Please tell me what to do.

    I thank in advance.

    I found the reason.
    Q5 is my camera. I only use the Wifi connection and disable others. However, it has my wife SIM inside, which is more money. We do not use it. I didn't think about this topic until I have it took off the Q5. Then there is a notification when the device is restarted. : cant watch:

  • Continue to application play when the device goes into sleep mode

    Hey guys,.

    wondering if anyone knows how to maintain an active application when the unit goes into fashion watches?

    My application needs continue to work when the device goes into sleep mode if he went in that State by itself, or if the user put it to sleep.

    Yes I tried it on a physical device. It works, I promise you

    To clarify, here is what you will see when using KEEP_AWAKE:

    1 device shall not sleep when the application is currently active

    2. the device shall not sleep if the application is reduced, and you are in mode carousel

    3 device WILL sleep if the user switches to another application and full screen.

    In addition, another thing to know, if the unit is not assigned to the showcase mode, which is not by default, the audio stops when the user leaves your app. This is not related to sleep and is totally out of our control, but could be a good thing to add to your product details.

  • I have laptop Toshiba and windows 7, but my webcam is not working it shows that the device is locked by another application.

    I have laptop Toshiba and windows 7, but my webcam is not working it shows that the device is locked by another application. Help me please!

    For a built-in webcam see this support from manufacturers or their forums.

    You could I think trying a boot minimum http://support.microsoft.com/kb/929135 and see if its then OK

  • How to store Internet Explorer running when the screen is locked?

    Hello! So, I am owner of a Surface... Yes! Somehow...

    Because Microsoft App Store refuses to give us of Pandora, Youtube and other needed applications, the only way to use these pages is through Internet Explorer...

    (in my opinion, they do it so that someone using Internet Explorer)

    Now, ok, I did that! I search for the pages I need and have pin them at the beginning... Yes, problem solved?

    NO.... The screen, if you don't touch anything, or move the cursor or something, it locks itself automatically after a certain time... and the music and the videos just stop playing.

    Now, when I go to Internet Options, I can't find anything to fix this. Change PC settings or... In customize, where it says lock screen Apps, it gives you the opportunity to choose "the apps run in the background...". ", but Internet Explorer is not available for this.

    Now, someone, anyone... tell me how that's possible! How can I leave Pandora running or a 1 hour running YouTube video?

    What are my options?

    1. setting of the Tablet does not interrupt or stop using the internet explore when the screen is locked... Is it still possible?

    2. the Tablet for only auto setting not lock screen when I use some applications, such as Internet Explorer (again probably not possible)

    3 magically App Store makes it available Youtube Pandora Facebook and other necessary apps (pfffff apparently does not have to spend)

    4. all that have worked for you guys... Any Suggestions?

    These are just little things that have made use of my annoying and incompetent little practical Surface... It's sad when smartphones can be more useful and practical than my Surface... really really sad. This comes from someone who wants this work effective and favourable way to the customer.

    Thank you for reading, for help, for viewing and understanding, I hope that I'm not the only one with this problem!

    > How can I leave Pandora running or a 1 hour

    You could try PRadio in the store:

    PRadio is a third Pandora Internet Radio App for Windows 8 modern.  It allows users to listen to music from the Pandora recommendation service in the background.

    Kate

  • BlackBerry Smartphones can how put out us an emergency call when the phone is locked

    We had new mature 2 days we were... my husband has his in his pocket while he was playing pool.  The door opened and 2 cops came and asked who had that phone number. It turns out that the phone can dial 911 when if locked sound moved around.  The cops were very kind to this topic and said they get about 4 calls a week like that of blackberries.  Someone later told us there is a way to disable it. I looked through the section "help" and can not find a thing... can someone tell me how to proceed? Thank you!!

    You can place the devices in Standby Mode After locking. This will prevent the accidental keys in your pocket.

  • Windows reduced on dual #2 keep going back to the main screen when the system is locked

    I have two monitors and just got a new system with Windows 8 is installed.  I have a monitor set up as Monitor 2 (just as I did before windows 8) so that nobody walks by can see it... I have confidential information open on that screen quite often - otherwise, it is reduced.  My main screen is set up for the bulk of the work that I do.

    However, whenever my system is locked or falls asleep, the apps/information, I put up on the screen 2, flies back to the main screen when I unlock the system.  I never had this problem before.  I tried to maximize the apps/info to fill the screen, but it does not work: it continues to move... it means that whenever I have unlock my system, confidential information appears on the screen which can be seen by anyone who was travelling.

    How can I stop this from happening?

    Hi Kelleybennett,

    Thanks for posting the request in Microsoft Community Forums.

    It seems that even if the computer is configured in the standby mode, the second monitor stops and windows are going to another. This could be a problem with the video card drivers or pilots of the monitor. Video drivers could be arrested to answer when the computer is set to sleep.

    You can try to uninstall and reinstall the drivers for the monitor and video card drivers and check.

    a. press the Windows key + R

    b. type devmgmt.msc and press ENTER to launch the Device Manager

    c. in the search for Device Manager for the device, click with the right button on the monitor drivers and select the Uninstalloption.

    d. also uninstall video card drivers

    e. restart the computer and check.

    See also:

    Download and install the drivers
    http://Windows.Microsoft.com/en-us/Windows-8/all-drivers

    Hope this information helps. Response with status so that we can help you.

  • Do not disturb - trouble Me when the phone is locked

    My phone is locked after 1 minute when not in use by my compant police.  How can I get my iPhone6 to ring when a call comes in and the phone is locked?

    Thank you.

    Turn off do not disturb.

Maybe you are looking for