I want to configure an emulator to be compatible with the Kindle Fire, including its resolution. What do I have to change in the emulator settings (or elsewhere)?
From the Amazon Kindle Fire FAQ:
You should configure your emulator with the following characteristics:
- Width: 600px
- Height: 1024px
- Abstracted LCD Density: 169
- Target: Android 2.3.4 - API Level 10
- RAM: 512 MB
*Note: The device will reserve 20px to display a soft key menu, making the effective portrait resolution 1004px high x 600px wide and the effective landscape resolution 580px high x 1024px wide.
Amazon recently released a new kindle fire add-on that you can easily install. It emulates the look and feel of the devices and can be set up in eclipse or from the command line. Check the documentation here for how to install and run it:
https://developer.amazon.com/sdk/fire/emulator-guide.html
Also because the kindle fire uses API level 10 it will not use your resource folders that use the swdp qualifier, so I have found using the -large-mdpi suffix for your relevant resource folders works well.
When creating or editing an AVD, you can select Skin: Built-in (and then choose some predefined screen type) or Resolution - that's where you can set any custom resolution. Is that what you need?
Amazon Kindle Fire Emulator just became available. Check it out at https://developer.amazon.com/public/resources/development-tools/ide-tools/tech-docs/01-setting-up-your-development-environment
It relies on Android SDK, of course.
Update: https://developer.amazon.com/docs/fire-tablets/ft-set-up-your-development-environment.html
As of Fire OS 5, the previously available Fire Tablet SDK add-on is deprecated; however, you can still develop apps for Fire tablets. Use the Android API 22 (Lollipop) features and the Amazon Mobile Apps SDK for your apps.
*Note: The device will reserve 20px to display a soft key menu, making the effective portrait resolution 1004px high x 600px wide and the effective landscape resolution 580px high x 1024px wide.
Be aware that this is true in FULL SCREEN mode only (i.e. hidden status bar). If you don't use FULL SCREEN mode that the available space is descreased by 25px on the top of the screen and about 50px (approximately) at the bottom of the screen.
© 2022 - 2024 — McMap. All rights reserved.