1. Download our Official Android App: Forums for Android!

Buttons - how it use in app?

Discussion in 'Android Apps & Games' started by Klema, Jan 10, 2014.

  1. Klema

    Klema Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 10, 2014

    Jan 10, 2014
    1
    0
    5
    Hello,

    i want that my application control software/hardware keyboard. Not all keys, but only few. This can be some like wireless keyboard. I have some bluetooth device that send some data and when this data match to my pattern in app, then my app press enter.

    How i can do this ?
     

    Advertisement

  2. Rukbat

    Rukbat Android Expert
    Rank:
    None
    Points:
    843
    Posts:
    10,392
    Joined:
    Jan 16, 2012

    Jan 16, 2012
    10,392
    2,894
    843
    Male
    Being retired and writing Tasker tasks.
    Fayetteville, NC, USA
    Where you want your app to press Enter, just go to where it would go if the user presses enter. You don't press keys in software, you pretend the key was pressed and do what you'd do if it had been. That's about Programming 10 ... without the last 1.
     

Share This Page

Loading...