google-tv-chrome-extensions — Google TV Communication via Chrome Extensions — Google Project Hosting

This project has sample Chrome Extensions to help you learn how to use the Google TV Pairing Protocol and Anymote libraries in a Chrome Extension. Example extensions include:

AnymoteExample

AnymoteLearningExercise

AnymoteExample is a simple, functional extension that demonstrates Google TV communication using an NPAPI plugin. AnymoteLearningExercise is the starting point for a learning exercise. Currently AnymoteLearningExercise is non-functional. The goal is to watch the Google IO video (https://developers.google.com/events/io/sessions/gooio2012/1301/), open the LearningExerciseInstructions/instruction.html file, and implement the functionality yourself. When you finish the exercise, AnymoteLearningExercise will be the same as AnymoteExample and you’ll know a lot more about using the NPAPI library.

After you finish the learning exercise you should be able to copy the plugin folder to your own extension and start using the plugin yourself. By understanding the plugin methods you should be able to quickly get starting making extensions for Google TV.

Be warned that AnymoteExample is meant to be a simple example of the plugin methods, not a demonstration of best practice in defensive programming. In a real extension, exceptions should be handled appropriately and attempting Anymote communication should not be allowed until pairing is complete.

Источник: google-tv-chrome-extensions — Google TV Communication via Chrome Extensions — Google Project Hosting.

  1. Оставить комментарий

Добавить комментарий

Заполните поля или щелкните по значку, чтобы оставить свой комментарий:

Логотип WordPress.com

Для комментария используется ваша учётная запись WordPress.com. Выход / Изменить )

Фотография Twitter

Для комментария используется ваша учётная запись Twitter. Выход / Изменить )

Фотография Facebook

Для комментария используется ваша учётная запись Facebook. Выход / Изменить )

Google+ photo

Для комментария используется ваша учётная запись Google+. Выход / Изменить )

Connecting to %s

%d такие блоггеры, как: