Android Question I need to create keyboard shortcuts, using an USB keyboard

Discussion in 'Android Questions' started by eelias, Jun 7, 2015.

  1. eelias

    eelias Active Member Licensed User

    I have already a running app that is entirely based on the touchscreen. As supposed to be for an Android app.

    However there is a need to attach a keyboard (standard PC USB Keyboard) and have shortcuts, like function keys F1 - F12 and even letters or Alt-letter

    My ideia is to somehow registers these shortcuts and then call the touchscreen buttons. So if you plug the keyboard you have these functions by keyboard.

    How is it possible to be done?

  2. NeoTechni

    NeoTechni Well-Known Member Licensed User

    the Activity_keypress event?
  3. Erel

    Erel Administrator Staff Member Licensed User

    Remember that you can always call the event subs from your code.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice