0

I've been reading the android and google TV docs for a bit now, and I can't seem to find much information on this. Google mentions building Multiscreen apps for Google TV, but their Android remote app example mostly just sends keystrokes to the google tv after you have navigated around using the directional pad.

I'm curious how you would send requests to the google TV that could do things like the following:

  • Type a full string on the phone (i.e. "cats on a skateboard") and send the entire search query to the GoogleTV (as opposed to sending each individual keystroke to the google TV)
  • Press a button on the phone that launches a specific video on an app like Netflix or Youtube, etc

Are these examples doable, and if so, how? I was reading about Intents, but it wasn't that clear to me. I know this is an involved question, but I appreciate the guidance!

1 Answers1

1

To send a string to search use Anymote's sendData event.

To launch an app, convert the Intent to launch that app into a Uri, using Intent.toUri() method and then send it to the TV using Anymote's fling event.

I will publish a simpler sample app for Anymote in a week or two. Meanwhile please follow: http://code.google.com/p/google-tv-remote/source/browse/src/com/google/android/apps/tvremote/protocol/AnymoteSender.java