firetv app, simple sample


Having purchased and expensed a fire tv device, we played with the sample app

image

https://github.com/amzn/web-app-starter-kit-for-fire-tv

Eventually, we installed all the build prerequisites and the build tooling. Running it, we built the sample projects and hosted the “simple” site in the npm server hosting environment (as instructed)

image

to make windows chrome  on windows 10 preview (with ripple tools installed) show the device options, had to invoke developer options an d then use the device button to invoke device mode:

 

image

To run this in a visual studio iix express project, we created an empty(2012) website (not web application.) we used the solution explorer to view ALL files, and imported the directories js/ and assets/

image

Using chrome to view the site fails, as fiddler shows iis express does not serve the data configuration file (something.json)

image

image

With that, we can see in chrome’s device emulator the site, as we saw earlier when hosted in npm’s server (site hosting) application.

image

we can post this to azure websites:

image

And we add it to our new app service (hosting plan), so logically it share a security context with other server side apps.

image

which launches our now public site, hosted at

image

http://firetv2.azurewebsites.net/

This struggles to stream the mp4 files, note; which we ignore for now (see below for fix).

image

using our fire tablet, we run the web app testing app – to which we have added the azure URI hosting our now published site/content.

WP_20150405_14_52_33_Pro[1]

Then henwe also arm the developer mode (that allows a chrome browser on the PC to connect to the app’s debug monitor, running on the wifi-connected device) and use its own debugging tools while updating the display of the device. This we do ONCE we launch/test the app, and its running in the device browser.

image

PC view, above

image

WP_20150405_14_58_31_Pro[1]

WP_20150405_14_59_01_Rich[1]

we fix the mp4 issue by doing as advised

image

WP_20150405_15_10_22_Rich[1]

Advertisements

About home_pw@msn.com

Computer Programmer who often does network administration with focus on security servers. Very strong in Microsoft Azure cloud!
This entry was posted in firetv. Bookmark the permalink.