GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing developer.amazon.com — Set Up Your Environment (Fire Tablets) | Fire Tablets
Set Up Your Environment (Fire Tablets)Follow these guidelines and instructions to set up the environment for your web app.
Include the Amazon API JavaScript LibraryIf your web app uses Amazon APIs such as in-app purchasing (IAP), include the Amazon API JavaScript library in your code to use those APIs. Hosted AppsFor hosted apps, the Amazon API JavaScript file is hosted at this URL:
Add a Packaged AppsCreate Packaged AppsCreating a new packaged app is as simple as creating any other type of zip file. Make sure the app has an index.html file as its starting page, or show the path to the app's main launch page when submitting the app. To make sure the app works offline, include all those assets as well. You can use a GUI application like WinZip, or using zip from the command line. This command for zipping a folder results in the basic zip file you need: $ zip -r project.zip ./project A packaged HTML5 app project looks and works like a normal web project folder on a server. For packaged apps, the Amazon API JavaScript file is automatically injected at the root level of your For example, if your app's files are at the top level of the
The From within From within If your app's files are inside a folder in the
The From within From within Use the Amazon API JavaScript LibraryAny code in your web app that uses an Amazon API must be called after the Specify the Launch PathThe launch path of your app is the path to the file that should be loaded when your app first starts. Hosted AppsFor hosted apps, the launch path is the URL of your web app. When you submit your hosted app to the Amazon Appstore, specify the URL of the page to be loaded when the app starts. Packaged AppsFor packaged apps, the launch path is the HTML file that should be loaded when your app first starts, relative to the root of the Web App PermissionsIf your app uses one or more features that need customer permission, select the appropriate checkbox during the submission flow. If your app requires any customer permission (In-App Purchasing or User Login), you must configure the associated page to use SSL. The following table specifies the features that require permissions:
In protect customers, we require that you serve your web app using SSL if your app uses In-App Purchasing or requires authentication. For more information, refer to Protecting your Web App. Test Your Packaged Web AppThe Amazon Web App Tester has been upgraded to handle packaged web apps as well. If you're not familiar with the Web App Tester, check out this blog post, Getting the most out of the Web App Tester, which shows you how to use it to test your web app before submission, including enabling and using the Remote Development Tools and other tips and tricks. In addition to entering URLs for hosted web apps, developers can now load their zipped web app files on to the device, which will be pulled in by the Web App Tester for viewing/debugging. Using the Android File Transfer tool, copy the zipped web app files you want to test to a folder in the root of the device:
The app package file should then show up in Web App Tester, where you can click Extract and use the app as per normal. You can also enter a URL pointing to a packaged zip file instead and follow the same steps. Submit your HTML5 Packaged Web App to the Amazon Appstore
Last updated: Oct 02, 2023 Supported devices | ||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |