Keine Ergebnisse gefunden
With the launch of the Amazon Fire TV stick, there has never been a better time or more developer friendly device to realize your own dreams of building apps for the living room. And, with an incredibly low price point of $39, it is one of the most affordable devices on the market for creating apps and casual games intended for the big screen. The best part is if you are already building for Android, especially Fire TV, the Fire TV stick is another great platform to help grow your audience.
In the following post we’ll cover how to get started, optimizing for Fire TV Stick as well as the hardware/software differences between the Fire TV Stick and Fire TV to help make your apps and games run great on both devices.
Now is the perfect time for Android developers to get into the growing streaming device segment with their existing Android app or create something entirely new, designed specifically for the Fire TV Stick. In addition to media-centric apps, casual games that feature local multi-player options are also becoming very popular on these types of devices.
Android developers will find that developing for Fire TV Stick is familiar, and optimizing their apps for the new controllers and TV display will not require learning a new language or new frameworks. Fire TV Stick runs Fire OS, which is based on Android. This means that it is easy to bring an Android APK to Amazon devices, including Fire TV Stick. Amazon Fire TV Stick offers Android apps a potentially new set of customers to engage with – all through the same Amazon Appstore.
Click here to download the Fire TV SDK and learn more
If you are already building Android apps and games, chances are you have everything you need to get started. Simply connect over WIFI with the Android Debug Bridge (ADB) and either manually push your APK via the command line or use your IDE of choice to push the build for you. We support a range of IDEs including Android Studio, Unity, or other IDEs that can create an APK. While most APKs will work without any changes, there are a few things you should keep in mind:
In addition to the SDK and documentation, publishing to the Amazon Appstore is free, so if you have an app you think would be great for Fire TV stick, get started testing and submitting it today!
Do you already have a Fire TV app? Well the good news is that your existing Fire TV app should run on Fire TV stick. The biggest things to keep in mind are the subtle differences in specs between the two devices. While the Fire TV Stick is incredibly powerful, given its size and price point, you will still want to test and optimize existing apps and games to account for the hardware performance differences from the Fire TV. For existing Android developers, you are probably already familiar with having to support difference devices ranging in performance, so your normal testing process should still apply here. To help, here are a few things to keep in mind:
Looking for some more details on the differences between the Fire TV stick and the Fire TV? Below you will find some of the important specs between both systems to help you better understand how to optimize your Android app for the Fire TV stick.
The most important thing you'll need to know is that the new Fire TV stick has its own dedicated remote with same buttons as the standard Amazon Fire TV voice remote. Here is button layout:
All of these buttons can be accessed via stranded Android key press events. For more information, check out the Fire TV input documentation.
Likewise, you can also detect which Fire TV platform you are on or the name of the attached remote/controller via the following properties:
Item |
Amazon Fire TV |
Amazon Fire TV Stick |
android.os.Build.MANUFACTURER |
"Amazon" |
"Amazon" |
android.os.Build.MODEL |
"AFTB" (Fire TV only)
"AFT*" (all Fire TV devices)
|
"AFTM" (Fire TV Stick only)
"AFT*" (all Fire TV devices)
|
Input Device Name (Fire TV remote) |
"Amazon Fire TV Remote" |
"Amazon Fire TV Remote" |
Input Device Name (Fire Game Controller) |
"Amazon Fire Game Controller" |
"Amazon Fire Game Controller" |
Here is a summary of the main differences between the Fire TV and Fire TV stick's hardware and specifications. One thing to point out while optimizing your app or game is that on the Fire TV stick the 1 GB of RAM is split between the system and the GPU. Also, while 720p is listed as a supported resolution, you should simply build for 1080p (xhdpi) and the Fire TV OS will downscale to 720p for you automatically.
Item |
Amazon Fire TV |
Amazon Fire TV Stick |
Screen resolution (px) |
1920 x 1080 (1080p) 1280 x 720 (720p) |
1920 x 1080 (1080p) 1280 x 720 (720p) |
Density (dp) |
320 (1080p) 213 (720p) |
320 (1080p) 213 (720p) |
Density Identifier |
xhdpi (1080p) tvdpi (720p) |
xhdpi (1080p) tvdpi (720p) |
Storage |
8GB |
8GB |
RAM |
2GB |
1GB (512MB system, 512MB video ) |
System on Chip (SoC) Platform |
Qualcomm Snapdragon ARMv7 |
Broadcom BCM28155 (Capri) |
CPU |
Qualcomm Quad Core Krait 300, up to 1.7 GHz, 2MB L2 Cache (APQ8064T) |
Dual Core 1 GHz Cortex A9 |
GPU |
Qualcomm Adreno 320, 400 MHz |
Broadcom VideoCore IV GPU/VPU (Capri VC4 device) |
Networking: WiFi |
802.11 b/g/n; 2x2 MIMO (2.4 GHz & 5.0 Ghz dual band) |
802.11 b/g/n; 2x2 MIMO (2.4 GHz and 5.0 GHz dual band) |
Networking: Ethernet |
10/100 Base-T |
No |
Bluetooth |
Bluetooth 4.0 |
Bluetooth 4.0 |
Device OS/Platform Software |
Amazon FireOS 3.0; Based on Android 4.2 (Jelly Bean), API Level 17 |
Amazon FireOS 3.0; Based on Android 4.2 (Jelly Bean), API Level 17
Fire TV platform software v1.1 |
The following table shows the OpenGL properties and limits for the Fire TV and the Fire TV Stick for 3D games and graphically intensive effects in your app.
Item |
Amazon Fire TV |
Amazon Fire TV Stick |
GPU |
Qualcomm Adreno 320, 400 MHz |
Broadcom VideoCore IV GPU/VPU (Capri VC4 device) |
OpenGL Version |
OpenGL ES 3.0 V@66.0 AU@04.04.02.052.050 (CL@) |
OpenGL ES 2.0 |
MAX_TEXTURE_SIZE |
4096 |
2048 |
MAX_CUBE_MAP_TEXTURE_SIZE |
4096 |
2048 |
MAX_RENDERBUFFER_SIZE |
4096 |
2048 |
MAX_VERTEX_TEXTURE_IMAGE_UNITS |
16 |
8 |
MAX_TEXTURE_IMAGE_UNITS |
16 |
8 |
MAX_COMBINED_TEXTURE_IMAGE_UNITS |
32 |
8 |
MAX_VERTEX_UNIFORM_VECTORS |
256 |
300 |
MAX_FRAGMENT_UNIFORM_VECTORS |
224 |
300 |
MAX_VERTEX_ATTRIBS |
16 |
8 |
MAX_VARYING_VECTORS |
16 |
8 |
MAX_VIEWPORT_DIMS |
4096 x 4096 |
2048 x 2048 |
As a child, growing up playing on home consoles, my dream was to always make games for the TV. Now with affordable and easy to developer for devices like the Fire TV Stick and of course Fire TV it’s never been easier for developers to realize a similar dream. You no longer need expensive dev kits and complicated coding languages to build your first app or casual game for the TV. The only question is what will you build? To help you get started, check out the links below in the resource section to realize your own dreams of building experiences for the living room.
- Jesse Freeman (@jessefreeman) is a Developer Evangelist at Amazon focusing on HTML5 and Games for the Amazon Appstore.