disable the lock button

Hi all

What should I do to disable the lock button? I did below, but forbid every button except the lock button!

It is popular for any suggestoins?

...

public boolean {return true ;} keyUp()

public boolean keyDown (int keyCode, int time) {return true ;}

{} public boolean keyChar (key char, int status, int time)

{if(Key==Keypad.KEY_LOCK)}

System.out.println ("Keypad.KEY_LOCK =" + Keypad.KEY_LOCK);

}

Returns true;

}

...

concerning

If you want to override the behavior of a method for a special touch, you should return true, otherwise you should return false. I guess you do in keyDown.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones disable / re - assign the lock button on top of device keys

    Hello

    I would appreciate your help please.  How can I disable or re - assign the lock button of the keys on the top of my 9320?

    Thank you

    Andy

    Hi, welcome to the Forums!

    You can't disable or re - assign keys on your 9320 lock, but you can on the "convenience keys", the buttons on the left and right of your device. Here's how: assign an application to a touch of comfort.

    See you soon!

  • How to disable the setting button in Tools - Options - advanced - network of windows registry?

    Dear support,
    Now, my office has use Firefox as default browser to access the Web server. And there is a policy that users must use ProxyServer. I don't want to change user setting in Firefox proxy. How to disable the setting button in Tools - Options - advanced - network of windows registry?
    Thank you.
    Treky

    You cannot use the Windows registry to disable the elements in Firefox. This link shows how to lock the proxy settings of Firefox, change the values as needed:
    http://www.stbernard.com/ip5kb/iPrism/whatsnew/50SupportFiles/SupportFiles/IP0460.htm

    A change of minor importance, in step 4, instead of add this line to all-js, you can create a file called local - settings.js containing the indicated line and save the file in the same folder as all.js

  • iOS 10 disable the lock screen camera

    Is it possible to disable the lock screen camera? the people cannot take hundreds of pictures without you knowing? I know that you can disable the camera completely in the restrictions under settings, but surely there is an option to turn off?

    Come on apple. the phone the most expensive on the market should see some support and quality service...

  • Google web toolkit plugin for firefox (1.23) disables the back button of the browser. How do fix us this?

    I have Google Web Toolkit Developer Plugin for firefox (1.23). It worked for me, but I recently discovered that in my browser back button has been disabled. By trial and error, I discovered that it's the GWT developer Plugin that is the culprit. When I disable the plugin, the previous button starts working again. When I re - activate the plugin, the back button stops working. Has anyone else encountered this problem? My firefox is version 19.0. Anyone know what would cause the plugin to start to disable the back button?

    Have you tried to use Firefox 23? This is the version you should be running.

  • Is it possible to disable the side buttons on the Laser 7000 Microsoft?

    I keep hitting when I leave the mouse and by disabling everything that I just entered. And I never use them. A supersizes also the screen when I can't.
    Thank you.

    Hello

    It is not possible to disable the side buttons on the Microsoft Laser 7000 mouse. However, if you install the Sidewinder software you can try to change the settings of the side buttons and check if it helps.

    http://www.Microsoft.com/hardware/en-us/d/wireless-laser-mouse-7000

    See also: http://support.microsoft.com/kb/258892

    If you have already installed the Sidewinder uninstall and check software testing.

    I also suggest you to contact the Microsoft Hardware support for assistance.

    http://www.Microsoft.com/hardware/en-us/support

  • I have the acer S7 392. How can I disable the power button?

    Is there a way to disable the power button? Most of the PC force at least you press the power button for a few seconds before it shuts down, but this button, which is conveniently located for an accident, immediately stops the machine.

    Please someone tell me that I can turn it off or put it in the wok with a timer.

    BTW, love this machine (less button and power battery life)

    In this case, follow the steps below to solve the problem:
    1. click "Start" and select "Control Panel".
    2. in the control panel search window, search for Power Options.
    3 click on "Power Options" and in the window that appears, click on "Choose what the power button" option in the list of options in the left pane.
    4. click the drop-down menu besides that 'when I press the power button"and choose the option you want.
    5. click on "save changes".

    Hope this will help you.

  • to disable the properties button on the connections LAN, so the settings cannot be change

    Disable the properties button in the settings of local network in XP

    Hello...

    I have this problem, I want to disable the button of properties on connections to the LAN so that settings cannot be changed, I know I can just change the user limited, but I need account or an administrator account, the problem is that my users already know how to change the IP address to connect to the Internet.

    So I already do a little research in google and microsoft and he said: I need to go to the gpedit.msc and go to 'Access user, administrative templates, Network Configuration, and then select network connections' but my computer doesn't have the "Network connections" folder, so I try in regedit will "-> HKCU-> software-> network Microsoft Windows-> CurrentVersion-> policy->" and once again I have no options 'Network '. , so I create under the policies of the 'touch' 'Network'... and the 'DWORD' 'NoNetSetup' and restart the PC... but it just doesn't work.

    Any idea? ... I really really need this... BTW, all customers are WinXP.

    Thanks in advance!

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the below link:

    http://social.technet.Microsoft.com/forums/en/category/windowsxpitpro

  • -L' stop six options that are next to the lock button in the task in the task bar disappear from my computer.

    -The six closure options that are next to the lock button in the taskbar disappear from the my computer. When I click on the arrow next to the lock button, my only computer log screen and lock up instead of six normally closed options i.e (change user, locking, lock, re - start, suspend and logoff.)
    -The first step, I took is to check for assistance and support in my system, and I could not find a guide on how to restore six back closure options.
    -There is not any notification of any errors.
    -My product/name of Microsoft's Windows vista Home Basic edition. Model: Compaq presario CQ60 Notebook PC
    All I want is no details to restore my missing shutdown options. Or if you can restore it for me online.

    Hello

    • What were the changes made before the problem occurred?

    You can view these methods:

    Method 1:

    I suggest you to start your computer in safe mode with network and check.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:

    Try the SFC scan on the computer in mode noraml.

    SFC/scannow is a very useful command that you can use in any version of Windows. When the SFC (System File Checker) command is used with the/scannow switch, the tool analyzes all the important files of Windows on your computer and replace if necessary.

    Missing and the corruption of the operating system (like many DLLs) files are probably the main cause of the major problems of Windows. In view of this, plus the fact that the SFC/scannow is completely automatic and very easy to use, the tool should be usually one of your top not troubleshooting.

    Reference:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Method 3:

    Run a full scan with your antivirus software and removal of malware/spyware.

    http://www.Microsoft.com/security/PC-security/MSE.aspx

    Malware:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/how-to-get-rid-of-malware/ba80504b-61f1-4D71-960f-b561798b7b42

    Method 4:

    You could also try to perform a system restore.

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

  • I was about to change username and typing of accident the "locked" button, how to unlock?

    I was about to change username and typing of accident the "locked" button, how to unlock?  Using Windows Vista.  Thank you

    Hello

    • What do you see on the screen?
    • It requires a username and password?

    To "unlock" a computer, you simply press your ctrl + alt + delete simultaneously and enter the password of the user account.

    If you are not able to enter a name (and a blank password), then press the power button on the computer.  If it does not close on its own, you may need to hold the power for 10 seconds or more.

  • Disable the hardware buttons

    I would have a configuration option to disable the hardware buttons. Working in landscape mode I touch them often by accident.

    Thanks for the tip. I have an Asus Transformer who charge OTA firmware updates autatically. I am now on the current version of the firmware and the isssue is resolved. What I really need to check manually for updafes or can I apply somewhere to learn about new versions of firmware? Stephan

  • Why did I not click on the lock button to enter in wondows, I never used to have to do this

    After I turn on the computer and using it for a while and let the screen goes black and then when I click that it lights up, the lock button is there.  When I came to my computer, it has not done this.  In other words, when I left the computer, the windows icon would remain, and the screen would not go dark. How can I get rid of this lock?

    Hello

    Control Panel - Power Option - on the left upper part require a password on WakeUp-
    the value requires a password.

    Make right click Desktop - Screen Saver - uncheck on summary, logon screen.

    I hope this helps.

  • How to replace the 'lock' button in the menu start into something else, for example, the button 'restart '?

    I don't use is the "lock" button because I use my computer only for home. However, I also have the button 'restart' for show because my programs freeze sometimes and I need to save data in this way. I need to show instead of the "lock" button Is this possible to do?

    Here is the tutorial to remove the option of locking, unfortunately it will also remove the option to switch user:
    http://www.Vistax64.com/tutorials/120510-lock-switch-user-add-remove.html

    I'm not sure the option "restart". I have Vista Home Premium SP2 and restart option is present in the start menu.
    What operating system do you use?

    t-4-2

  • Disable the close button in ChildBrowser

    I'm working on a project that deals with pages and external links.

    How can I disable the 'Close' button on the Webworks ChildBrowser and re-enable it after loading the page.

    Thank you for your response.

    Hello

    To confirm, you mean that sheet of 10 of BlackBerry that slides in to view content, correct? If so, the ChildBrowser is a component of system level and only provides access to its user interface.

  • How to disabled the alt button?

    How to disabled the alt button?

    Wednesday, October 17, 2012 12:48:11 + 0000, ArielPilapil wrote:

    How to disabled the alt button?

    Why do you do this? This can screw up a lot of things.

    But you can disable any key or keys by using software such as the free
    SharpKeys to http://www.randyrants.com/sharpkeys/

    Ken Blake, Microsoft MVP

Maybe you are looking for