Developer Console

Get Started with Web Apps (Fire Tablets)

You can develop HTML5 web apps to run on Fire tablets. You have several options for structuring your web apps for the Amazon Appstore.

Options for Submitting Apps

  • packaged app: is a full-fledged client-side web standards-based application whose assets are bundled together in a ZIP archive for distribution.
  • hosted app: is an application whose assets are hosted on a web server. Clients connect to the host and download the app's assets to their device before being able to run the app.
  • HTML5 hybrid apps: are platform-native apps that use web content for the user interface.

Advantages of Packaged Apps

Packaged apps have several advantages over hosted apps:

  • Packaged apps do not require you to find a hosting solution for your app.
  • Packaged app performance can be better because all of the assets are present on the local filesystem.
  • Packaged apps can work more easily offline.

Advantages of Hosted Apps

Hosted apps have several advantages over packaged apps:

  • Hosted apps can be complete applications with server-side and client-side code.
  • Hosted apps can be updated immediately. Customers always get the latest code.
  • Hosted apps provide the same experience (and typically the same code) for customers as on your web site.

Advantages of Hybrid Apps

  • Faster, more efficient rendering, script performance, and memory management
  • Support for latest web standards (HTML5, CSS3, and JavaScript)
  • Hardware acceleration and GPU optimizations for CSS, Canvas, and WebGL graphics

You build your own wrapper with Cordova or create your own hybrid app and submit it like any other native app. For more information on Cordova, see Apache Cordova.

For information on submitting both hosted and packaged apps, see Submitting or Updating Your Web App to the Amazon Appstore.

Include the Amazon API Javascript library

If your web app uses Amazon APIs, such as In-App Purchasing, you need to include the Amazon API JavaScript library. This library initializes any Amazon plugins and raises an amazonPlatformReady event to to signal that the APIs are ready for use. The library is hosted at the URL To include this library, add the following <script> tag to your web app:

<script src=""></script>

Because this library raises an amazonPlatformReady event when initialization is complete, wait for the amazonPlatformReady event before you call any Amazon APIs, as in the following example:

document.addEventListener('amazonPlatformReady', function () {
    //API code goes here

Using Web App Tester and DevTools

Web App Tester is a tool that lets you test your hosted and packed apps on Fire Tablet devices.

Web App Tester also enables using DevTools to debug your web app. For information on getting and using DevTools, see Debugging Your Web App.

Resolution and Page Scaling

See Detecting the Device's Display Characteristics for information about screen size and other device characteristics. For more information about design guidelines for web apps, see Best Practices for Developing Web Apps

Testing IAP

Use App tester to test the IAP v2.0 API in your web app. See Install and Configure App Tester.

Last updated: Aug 30, 2023