Keypress codes from IR Remote control

blong

Active Member
Licensed User
Longtime User
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.
 

blong

Active Member
Licensed User
Longtime User
No intents

Erel

Thanks (as always) for the suggestion/advice.

Looked at the unfiltered logs and no intents are sent ...

So it would appear that I am limited to the keys I have which is not too bad as one of them is MENU and can pop up a layout which has options etc and so really do have enough user control (I think).

Unless you can suggest anything else to try ??

Regards
 
Upvote 0
Top