O'Reilly logo

Android Application Development For Dummies, 2nd Edition by Donn Felker, Michael Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Up Your Kindle Fire or Emulator

If you want to develop for the Kindle Fire, you need either the Kindle Fire itself to test your app with or an emulator that can act as a surrogate. Because the Kindle Fire is its own breed of Android, you can’t use the same ADB you use with other Android devices unless you make a few configuration changes.

Creating Kindle-like emulator

If you don’t have access to a Kindle Fire, you need to create an emulator for one. The process for doing so is slightly different than it is for a regular Android emulator because the Kindle Fire runs its own version of Android. Follow these steps:

1. Install the Android 2.3.3 (API Level 10) SDK using the SDK Manager.

Check out Chapter 2 for more details on how to use the SDK Manager.

2. In the SDK Manager, choose ToolsManage Add-on Sites.

The Add-on Sites dialog box opens, as shown in Figure 18-1.

Figure 18-1: Add a SDK.

9781118417454-fg1801.tif

3. On the User Defined Sites tab, click the New button.

4. Enter the URL http://kindle-sdk.s3.amazonaws.com/addon.xml and click Close.

The Android SDK Manager dialog box opens, as shown in Figure 18-2.

Figure 18-2: Install the Kindle Fire emulator.

9781118417454-fg1802.tif

5. Scroll down to Android 2.3.3 (API 10), select Kindle Fire, and then click the Install Packages button.

6. Accept the license ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required