I am developing app on an Android based Media box i.e. a box that plays videos etc. It has a remote control for controlling functions.
In my app I examine the Keypress event and only some of the keys create a Keypress code.
The buttons on the remote control that give keycodes are the up, down, left right arrow buttons, OK, play, stop and a couple others.
The buttons which have the numbers 1 through 0 and other special buttons such as Repeat, Zoom, Slow etc either generate no code or give a zero as keycode.
It would seem the remote is NOT treated as a full keyboard and somehow codes are trapped.
is there any Android permissions needed perhaps ??
or a way of getting "raw" codes ?
Or is it just an operating system limitation.
I feel my app will be OK with what I have BUT would like just a few more keys available.
Any help/advice appreciated.
In my app I examine the Keypress event and only some of the keys create a Keypress code.
The buttons on the remote control that give keycodes are the up, down, left right arrow buttons, OK, play, stop and a couple others.
The buttons which have the numbers 1 through 0 and other special buttons such as Repeat, Zoom, Slow etc either generate no code or give a zero as keycode.
It would seem the remote is NOT treated as a full keyboard and somehow codes are trapped.
is there any Android permissions needed perhaps ??
or a way of getting "raw" codes ?
Or is it just an operating system limitation.
I feel my app will be OK with what I have BUT would like just a few more keys available.
Any help/advice appreciated.