question

LaPatrona avatar image
LaPatrona asked

Web/HTML5 app running behavior

Hi everyone. Thanks in advance for any help I can get. I am a dotnet web developer and I found out that the Fire TV/stick support apps in html5 local and hosted. I was hoping to leverage my knowledge of html, javascript, and php to develop for the fire tv/stick. I have an idea for an app but I will like to determine if it is possible or feasible as a webapp. -Can a web/html5 app be configured to start in the background when the fire tv/stick reboot or restart? - when a web/html5 lose focus (when the user switch to another app) does the web/html5 process is terminated or stays in the background still getting processor time? I need my app to have a timer to receive/send notifications at least once every 15 minutes even when the app is running in the background. Thanks again.
fire tv
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Hi, A web/htm5 app is treated the same as any other app on the Fire TV. Thus, it can only be started when specifically initiated by the user, and cannot start at boot or on restart. Further, the behavior is not guaranteed as to whether an app will continue to run, but should not be expected. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LaPatrona avatar image
LaPatrona answered
Thanks. -Is there a way to currently ping the fire tv/stick or to remotely run an app from the web? -is it possible to write a very small service-like app that run in the background and all it does is ping a server Thangks again.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Hi, No, that behavior is not possible. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

LaPatrona avatar image
LaPatrona answered
Thank you. The firetv framework is lacking for really cool time sensitive/cync/notifiying and control apps. Apps for the general public withouot jail breaking or messing with it, just using the stardard amazon approved api.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.