Reputation: 71
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:
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!
Upvotes: 0
Views: 1215
Reputation: 15677
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
Upvotes: 1