kingargyle
kingargyle

Reputation: 1239

Making a MediaController Navigable with D-Pad

I'm working on a custom media controller. I have it so that the Surface View correctly shows and hides the view. The view is populated with a SeekerBar and about for ImageButtons. However, I can't figure out how to make the D-Pad navigate to these items.

If I use the synaptic touchpad on the remote, I can select the buttons and the seekerbar, but can't use the D-PAD to get to these items. Do I need to catch the events when the view is shown. Is there a good example for google tv on a custom media controller implementation?

Upvotes: 1

Views: 358

Answers (1)

Krispy
Krispy

Reputation: 1108

Yes you will need to catch the key code events and manage the focused items accordingly to make that work.

Upvotes: 1

Related Questions