This document outlines step-by-step instructions for creating and publishing an Amazon Fire TV app powered by Zype's Endpoint API service and app production software and SDK template.
IT or developer support strongly recommended. Completing app submission and publishing requires working with app bundles and IDE.
To create a Zype Amazon Fire TV app you need a paid and current Zype account that includes purchase of a valid license for the Zype Amazon Fire TV endpoint API. Learn more about Zype's Endpoint API Service.
You may sign up for a Amazon Developer account via Amazon's website.
An Amazon Fire TV or Fire TV Stick with the Amazon Web App Tester installed is required for previewing and testing the app. A Fire TV or Fire TV Stick may be purchased on Amazon.com. The Amazon Web App Tester may be downloaded from the Amazon App Store.
- In order to generate an Amazon Fire TV app bundle using this SDK, you will need to first create an Amazon Fire TV app on the Zype platform. If you have not done this yet, log in to your Zype account here, and click on the Manage Apps link under the Publish menu in the left navigation. You will see a button to create a new app. Continue following the instructions provided within the app production software.
- Once you have your Amazon Fire TV app created in the Zype platform, click on Get New Bundle and the configured app bundle will be emailed to you. You may also reload the page and click the Download Bundle button.
After you've received your app bundle, you'll need to preview and test your new app using Amazon's Web App Tester. There are 2 options:
Note: This option requires third-party SSL web hosting and, in some cases, a domain name. A developer's assistance is recommended for this option.
-
Unzip the beta app package archive downloaded from Zype
-
Upload the files to a web host of your choice (examples of common web hosts include Amazon S3, MediaTemple, GoDaddy, Network Solutions, etc.)
-
Copy the HTTP link to the app's index.html file
-
Open the "Web App Tester" app on your Fire TV
-
In the top right corner, make sure it's set to "
TEST HOSTED APP
" (Note: it should default this way) (Fig. 1) -
Click "
Name Your App
" (Fig. 2) -
Enter the app name you want and click "
Submit
" (Note: this is for internal use only and won't be seen anywhere else) -
Enter the URL copied in Step 3 (Fig. 3)
-
Click "
Submit
" -
Click "
Add to Device
" -
Your app will appear in the list below
-
Scroll down and click "
Test
" to the left of your app (Fig. 4) -
Your app will open
Note: These instructions apply to specifically to macOS, however, the principles are applicable to any operating system (Windows, Linux, etc). A developer's assistance is recommended for this option.
-
Unzip the beta app package archive downloaded from Zype
-
In Finder, navigate to the folder containing the app and copy it (
command + c
) -
Open the Terminal app.
-
At the prompt, type
cd
, space, then paste the folder copied in Step 2 (command + v
).cd /Users/user1/Desktop/zype-aftv
-
In Terminal, start a HTTP server using the following command
python -m SimpleHTTPServer
-
Open
System Preferences > Network > Status
to find your IP Address -
Note the IP Address
-
Make sure both your computer and Fire TV are connected to the same wireless network
-
Open the Web App Tester app on your Fire TV
-
In the top right corner, make sure it's set to "
TEST HOSTED APP
" (Note: it should default this way) (Fig. 1) -
Click "
Name Your App
" (Fig. 2) -
Enter the app name you want and click "
Submit
" (Note: this is for internal use only and won't be seen anywhere else) -
Enter the IP Address from Step 6, prepending
http://
and appending :8000/index.html
(example:http://192.168.1.1:8000/index.html
) (Fig. 3) -
Click "
Submit
" -
Click "
Add to Device
" -
Your app will appear in the list below
-
Scroll down and click "
Test
" to the left of your app (Fig. 4) -
Your app will open
-
Press (
Control + C
) to stop the HTTP server when you have completed testing
In order to submit your Amazon Fire TV app to the Amazon Appstore, Amazon requires 3-10 screenshots of your app: 1920px x 1080px (landscape) in PNG or JPG format. Follow the instructions linked below. Note: A developer's assistance is highly recommended.
https://developer.amazon.com/public/support/submitting-your-app/tech-docs/taking-screenshots
Submit your app to the Amazon Appstore by following Amazon's Instructions. Note: special considerations detailed below
- Go to the Amazon Developer Console
- Click
Add New App
- Select
Mobile Web
and clickNext
- Fill out the subsequent form and click
Save
. You must complete each tab (detailed below).
Yes.
- You can choose zip and upload the zip we emailed you, or
- You can choose URL and provide the URL of the files (you must make them available via http).
- For pros/cons of the two approaches see: Amazon's Article
- Check
In-App Purchasing
(if you are using it) - Check
Prevent Sleep for Video Playback
Uncheck all items except:
- Fire TV (2014)
- Fire TV Stick
- Fire TV (2015)
If your app uses In-App Items, you will need to set up In-App Items with your banking information.
If you are using Subscriptions with In App Items you must set up each subscription in the Amazon dashboard.
- Click
In-App Items
- Click
Add a Subscription
- General Information
- Title: Choose an appropriate title for your Subscription
- SKU:
- This is the Plan’s Amazon ID you set up earlier on the Zype dashboard. (e.g. subscriptionMonthly-123)
- Note: You must enter the Amazon ID from the Plan you set up in the Zype platform here. The Amazon ID and SKU must match exactly for subscriptions to work
- Content delivery: No additional file required
- Subscription Periods
- Subscription Period: Choose a subscription period
- SKU
- Enter the Amazon ID here, but repeat it with a dot separator. Example:
subscriptionMonthly-123.subscriptionMonthly-123
- Note the dot and the repetition! This is due to the unique way Amazon handle purchase receipts.
- If you want to have multiple subscription periods you must set up multiple plans in the Zype platform and repeat the above process. Note that you must create a new subscription each time. Do not add multiple Subscription Periods under the same parent SKU.
- Enter the Amazon ID here, but repeat it with a dot separator. Example:
- Click
Add an Entitlement
- General Information
- Title: The title of your video
- SKU
- This is the Zype ID of the video, ie
5629232e4d656c4e94b10000
- To find the Video ID in the Zype platform go to
Dashboard > Video Library > Video
. The Video ID is shown in the Details tab.
- This is the Zype ID of the video, ie
- Content Delivery: No additional file required