To include this library, add the following tag to your web app:ĭocument. This library initializes any Amazon plugins and raises an amazonPlatformReady event to to signal that the APIs are ready for use. If your web app uses Amazon APIs, such as the In-App Purchasing API, you need to include the Amazon API JavaScript library. For more information on the Amazon WebView API, see Build and Test Your HTML5 Hybrid App.īe aware of the issues presented in detail below as you develop your web app for Amazon Fire TV.įor more information, also see the following topics: The Amazon WebView API also enables creating hybrid HTML5 apps. Hardware acceleration and GPU optimizations for CSS, Canvas, and WebGL graphicsįor information on submitting web apps, see Submit your app.Support for latest web standards (HTML5, CSS3, and JavaScript).Faster, more efficient rendering, script performance, and memory management.Hosted apps provide the same experience (and typically the same code) for customers as on your web site.Hosted apps can be updated immediately.Hosted apps can be complete applications with server-side and client-side code.Hosted apps have several advantages over packaged apps: Packaged apps can work more easily offline.Packaged app performance can be better because all of the assets are present on the local filesystem.Packaged apps do not require you to find a hosting solution for your app.Packaged apps have several advantages over hosted apps: For information on using Cordova with Amazon WebView, see the Apache Cordova API topic, Fire OS Platform Guide. For more information on Cordova, see Apache Cordova. HTML5 hybrid apps: are platform-native apps that use web content for the user interface.įor hybrid apps, you can build your own wrapper with Cordova or create your own hybrid app and submit it like any other native app.Clients connect to the host and download the app's assets to their device before being able to run the app. Hosted app: is an application whose assets are hosted on a web server.Packaged app: is a full-fledged client-side web standards-based application whose assets are bundled together in a ZIP archive for distribution.Retrieving the Advertising ID and Ad Tracking Preference.You can port your web app to a new platform and submit it to the Amazon Appstore with minimal effort. Install and Run the Debug APK to Test Your AppĪmazon Fire TV, including both Fire TV and the Fire TV Stick, supports HTML5 web apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |