How to recognize vitual keyboard is visible (iPAQ 3955)

I'm running a java application on the iPAQ 3955 PDA, with Jeode runtime. I have a need to recognize (from the java app) when the virtual keyboard has been elevated, so that I can collapse my application somewhat to accomodate the keyboard on the little screen. If I don't do this, some of my text fields are covered up. Any ideas? Thanks.

Hi,
well I think there is no way to detect if the keyboard is visible, except Jeode has implemented this function. But then you should have recognized it in the API I guess. (I am not using Jeode)
Another idea is that the keyboard can only come up if the stylus tap is presses (I hope thats the name of the symbol on the lower right). Thefor you have to listen for keyevents and if you detect that the stylus tap is pressed (or any other key on the keyboard) you know that the keyboard is visible. If the tab ist pressed again, you know that the keyboard is not visible anymore.
Below is an exceprt from the book Programming Microsoft Windows CE. Altough the book is written for the use of embedded Vusual C++ I think it will give you an short overview on which keys are available.
I don't know what codes are provided by Jeode, I just remember that I had some difficulties on handling keyevent with Suns Personal Java Runtime, because that one dind't forward all keys :-(
Wish you good luck and have fun,
FReAK
Figure 3-1 Virtual key values in relation to the keys on the keyboard. Not all keys will be on all keyboards.
Constant Value Keyboard Equivalent
VK_LBUTTON 01 Stylus tap
VK_RBUTTON 02 Mouse right button4
VK_CANCEL 03 Control-break processing
VK_RBUTTON 04 Mouse middle button4
-- 05�07 Undefined
VK_BACK 08 Backspace key
VK_TAB 09 Tab key
-- 0A�0B Undefined
VK_CLEAR 0C Clear key
VK_RETURN 0D Enter key
-- 0E�0F Undefined
VK_SHIFT 10 Shift key
VK_CONTROL 11 Ctrl key
VK_MENU 12 Alt key
VK_CAPITAL 14 Caps Lock key
-- 15�19 Reserved for Kanji systems
-- 1A Undefined
VK_ESCAPE 1B Escape key
-- 1C�1F Reserved for Kanji systems
VK_SPACE 20 Spacebar
VK_PRIOR 21 Page Up key
VK_NEXT 22 Page Down key
VK_END 23 End key
VK_HOME 24 Home key
VK_LEFT 25 Left Arrow key
VK_UP 26 Up Arrow key
VK_RIGHT 27 Right Arrow key
VK_DOWN 28 Down Arrow key
VK_SELECT 29 Select key
-- 2A Original equipment manufacturer (OEM)�specific
VK_EXECUTE 2B Execute key
VK_SNAPSHOT 2C Print Screen key for Windows 3.0 and later
VK_INSERT 2D Insert1
VK_DELETE 2E Delete2
VK_HELP 2F Help key
VK_0�VK_9 30�39 0�9 keys
-- 3A�40 Undefined
VK_A�VK_Z 41�5A A through Z keys
VK_LWIN 5B Windows key
VK_RWIN 5C Windows key1
VK_APPS 5D
-- 5E�5F Undefined
VK_NUMPAD0�9 60�69 Numeric keypad 0�9 keys
VK_MULTIPLY 6A Numeric keypad Asterisk (*) key
VK_ADD 6B Numeric keypad Plus sign (+) key
VK_SEPARATOR 6C Separator key
VK_SUBTRACT 6D Numeric keypad Minus sign (-) key
VK_DECIMAL 6E Numeric keypad Period (.) key
VK_DIVIDE 6F Numeric keypad Slash mark (/) key
VK_F1�VK_F24 70�87 F1�F241
-- 88�8F Unassigned
VK_NUMLOCK 90 Num Lock1
VK_SCROLL 91 Scroll Lock1
-- 92�9F Unassigned
VK_LSHIFT A0 Left Shift3
VK_RSHIFT A1 Right Shift3
VK_LCONTROL A2 Left Control3
VK_RCONTROL A3 Right Control3
VK_LMENU A4 Left Alt3
VK_RMENU A5 Right Alt3
-- A6�B9 Unassigned
VK_SEMICOLON BA ; key
VK_EQUAL BB = key
VK_COMMA BC , key
VK_HYPHEN BD - key
VK_PERIOD BE . key
VK_SLASH BF / key
VK_BACKQUOTE C0 � key
-- C1�DA Unassigned5
VK_LBRACKET DB [ key
VK_BACKSLASH DC \ key
VK_RBRACKET DD ] key
VK_APOSTROPHE DE ` key
VK_OFF DF Power button
-- E5 Unassigned
-- E6 OEM-specific
-- E7�E8 Unassigned
-- E9�F5 OEM-specific
VK_ATTN F6
VK_CRSEL F7
VK_EXSEL F8
VK_EREOF F9
VK_PLAY FA
VK_ZOOM FB
VK_NONAME FC
VK_PA1 FD
VK_OEM_CLEAR FE

Similar Messages

  • How to recognize original Q10 keyboard?

    Hello,
    Unfortunately my Q10 keyboard have double typping issue, also waranty period is over. 
    So I decided to buy new keyboard for my phone online. 
    I have just a little problem because I don't have any idea how can I  recognize original keyboard.
    My question is, How can I?

    Oh wait - it is there when my other keyboard is plugged in, but disapears - it's not available when I plug this keyboard in.

  • How to get bootcamp to recognize macbook keyboard?

    I was trying to make more room on my windows harddrive so I stupidly deleted a few things. I deleted most of the apple created stuff, and now it won't recognize my keyboard to adjust the volume and brightness. Of all the things I need this is the one I really need back, and I can't do a system restore. I'm considering reinstalling Bootcamp but I don't have my Windows disk on me. Is there anything I can do to reinstall the keyboard recognizition?
    Thank you.

    Welcome to the Apple Support Communities
    I think you uninstalled the Windows support software that makes your function keys work in Windows. To reinstall them, just reinstall the Windows support software you installed previously in Windows.
    If you keep the DVD or USB drive with this software, insert it and reinstall it. If not, start into OS X and redownload the Windows support software from Boot Camp Assistant

  • Apple TV 3 can't recognize my keyboard

    Hi,
    I have iMac and I try use my keyboard for apple TV 3. Apple TV 3 can't recognize my keyboard when I try found my keyboard in Apple TV 3 Bluetooth settings. Do anybody knows what is problem? I try disconnect keyboard from iMac but when I turn on  keyboard it automatically connect to iMac because iMac is in Bluetooth range of keyboard when it is in my  living room (where is my apple tv). Also, I try shut down iMac but without success.
    My Bluetooth settings can't recognize keyboard and doesn't show list. I can see only loading icon.
    I buy my apple TV few days ago and did update software yesterday to 6,2 version I think.
    Thank you.

    And How it can be properly disconnected via bluetooth prefs? I try disconnect, but when I press any key on keyboard It immediatly connect to mac. I found in bluetooth prefs remove function to remove keyboard from bluetooth list.

  • How to add Multimedia Keyboard Shortcuts

    Brand new to mac/apple...
    I use a wireless keyboard and mouse and want to use the multimedia keys on this keyboard. How do i add keyboard shortcuts in 10.5.5?

    f0rgiven wrote:
    Is there a way to verify the OS sees the "extra" keys on the keyboard (the mouse also has some extra buttons that i would like to assign but i want the keyboard first)?
    Go to the system preference mentioned in my earlier post & follow the instructions it provides to try to assign an application-specific shortcut to one of the "extra" keys (which will require one of modifier keys to be pressed along with it). If it recognizes the key, you will see some symbol for it in the second box, along with one for the modifier key. (The modifier keys are the shift, option, etc. keys that don't do anything by themselves).
    You might also check Logictech's website for software that supports the keyboard with OS X.

  • How to import cs1.Keyboard

    How do I get my program to recognize cs1.Keyboard, please? oh, I am totally new to the Java thing so please be clear. Thanks a lot.

    1) Your code has to refer to it. Probably you'd do:
    import  cs1.Keyboard;But I don't know for sure, because cs1.Keyboard is not a standard part of java. It's something your professor or TA or author of the book you're reading, made up. You should ask him/her/them for official instructions.
    2) Make sure that cs1.Keyboard is on your classpath. Probably it's in a jar file, so you'd have to include that jar file in your classpath. The way you do that depends on the OS and/or IDE you're using.

  • Why won't new garage band recognize my keyboard?

    On my laptop version 10.7.4 whenever I pluged my keyboard into the usb port a picture of an electornic keyboard would appear on garage band with a pop up stating that a keyboard had been detected and asking wiether I wanted to use input from the keyboard. My brand new computer doesn't seem to recognize my keyboard. What do I do?

    You'll hardly get an answer without telling us your keyboard model and how you are connecting it to the computer (with a midi interface or through its USB out?).

  • HT4356 My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    hi
    could you tell us what the other app is please

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

  • How to recognize if application is installed using "Install Application on Remote Desktop" option on Windows Server 2008 R2

    How to recognize if application is installed using "Install application on remote desktop..." option in Control Panel in Windows Server 2008 R2?
    Basically, as administrator, I can't say if the user installed application using "Install application on remote desktop..." in Control Panel or he just installed it by clicking the .msi executable. I can't find anything that makes any difference.
    I could not find anything in the registry. I am quite confused.
    Thanks,
    Aleksandar9

    Hi,
    Thank you for your posting in Windows Server Forum.
    Please make sure that you are using category view of control panel-programs to check the application. And in addition to “install application on Remote Desktop server” user can also use command line also.
    change user /install
    change user /execute
    change user /query
    “The first time you run the application, it searches the home directory for its .ini files. If the .ini files are not found in the home directory, but are found in the system directory, Terminal Services copies the .ini files to the home directory, ensuring
    that each user has a unique copy of the application .ini files. Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations.” (Quoted formthis
    article).
    Hope it helps!
    Thanks,
    Dharmesh

  • How to install wireless keyboard in bootcamp windows 7

    Dear,
    Please help- How to install wireless keyboard in bootcamp partition windows 7.
    Thanks & regards,
    Shoyeb mridha

    Control Panel->Admin. Tools->Services
    Or if you have added Computer Icon to desktop (right click desktop->Personalise->Change desktop icons
    then you can left-click it selecting Manage where you see Services & Apps

  • How to make a new section visible in the server published version

    I use UPK 12 Client.
    When I click "Link a new section" in an existing Module, I can see it in the outline in the left pane in my UPK 12 Developer. When I then check-in all items, click Publish > select c: drive (a test folder) > Publish entire outline, the outcome includes the new section created.
    When I do the exact same procedure, but choose to click Publish > server (which is set up for my UPK) > Publish entire outline, the outcome does NOT include the new section created, but everything else yes.
    How to make the new section visible in the server published version?
    Thanks!
    Sille

    Hi Sille,
    Are you publishing over knowledge center? or is it publishing to a network drive? Once you check in the section save the module once and try again. See if it makes any difference.
    best regards,
    SD

  • How to make the exe always visible in the illust application.

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application(Not in Taskbar), once it was clicked. Could you please kindly help me to solve this.
    Regards,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to make the exe always visible in the application window

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application window itself(Not in Taskbar), once it was clicked. Could you please, kindly advice me.
    Thanks,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to recognize the linked text boxes in In Design

    How to recognize the linked text boxes in In Design? I mean is there any indication, where I will come to know so an so tex boxes are linked together?
    Thanks in advance.

    HI Peter,
    well In Quark Express as as wrote earlier, that you can see other text frames highlighted immediately, after you select any of the text frame among the threaded text frames, say there are 5 text frames which are threaded together, even if I click on 2 nd or say 4th text frame, it shows me all the text frames highlighted which are threaded together, so If I am working in a catalog which has multiple pages, it's easy for me to see which text frames are threaded together, as if you make any text changes, say add or delete text in a text frame, the other text frames get affected by that. I mean text shifts accordingly, it's easy to track in Quark which text frames will get affected if I change something in a threaded frame.
    Anyways, it seems this option is not available in In Design. That's fine. I am not in preview or Overprint previed mode.
    Thanks for your help.

Maybe you are looking for