Search code examples
androidgoogle-tv

Storing 'pairing' information with Google TV 'Anymote Protocol'


I've implemented an application based off of the BlackJackRemote in the google-tv-samples (https://code.google.com/p/googletv-android-samples/source/browse/) and am having to pair the application to the GTV with every session. I've looked through the open source Google TV Remote application but it looks like it requires pairing each session as well. Is there something built into the AnymoteLibrary to retain paired sessions, or some pointers on implementing something like that myself?

My intuition is that I'll need to modify the AnymoteLibrary directly to get this functionality, but maybe it's already available and I've overlooked it.


Solution

  • The creator of Able Remote made a very nice library to handle this sort of thing:

    https://github.com/entertailion/Anymote-for-Java (pure Java implementation of Anymote) https://github.com/entertailion/Android-Anymote (Android project that uses said implementation)