Greetings How to write onClicklistener for the Android Box remote? Or maybe someone has a step by step instruction?

Thank you in advance

    1 answer 1

    Creating TV Navigation

    UI Patterns for TV

    just create a button and set it OnClickListener

    • I apologize, but I am very well aware of this process. How then to attach this XML button to the remote control button? - Salut Amigo
    • I thought you were talking about an application for an adroid that performs the role of a console. - Maxim Kuznetsov
    • then the question is not there you asked in my opinion - Maxim Kuznetsov
    • And where would you recommend to ask? - Salut Amigo
    • Some buttons of the remote (Android Box) function, but do not send a KeyEvent (Android Studio). How can I put dispatchKeyEvent on them if I don’t get a KeyEvent from them? - Salut Amigo