Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I connect to Kindle Fire for development?

What do I need to do to use my Kindle Fire for android development? (Specifically for testing my apps on the device.)

like image 454
Josh Metcalfe Avatar asked Nov 16 '11 12:11

Josh Metcalfe


People also ask

Can you code on a Fire tablet?

Fire tablets support apps that include native code compiled with the Android NDK. The following table shows the NDK revision for compiling your native-code apps to take advantage of the features available on Fire devices. For information about installing the NDK, see Android NDK.

How do I associate my Google account with Kindle Fire?

Step 1: Go to the Kindle Fire e-mail setup and select Other as your e-mail provider. Step 2: When prompted to enter your account information, type in your Google Apps e-mail address and your account password, then tap Next. Step 3: Select IMAP as the account type. Then click Next.

Can I connect my phone to my Kindle Fire?

On the Wireless page tap Bluetooth. Here is where the “make visible” button isn't very obvious. On the Bluetooth screen, tap the device's Name. This should set the Kindle Fire to be visible for two minutes so you can pair your devices.


2 Answers

You can find the instructions for connecting Kindle Fire to the ADB in a PDF of instructions provided by Amazon.

Paraphrased from the document:

  1. Edit the adb_usb.ini file (located in ~/.android/)

  2. Add the lines:

    0x1949 0x0006 
  3. Save the file.

  4. Run these commands to restart adb:

    adb kill-server adb start-server  adb devices   

NOTE: For Windows 7 users you need to download an additional driver.

like image 152
Josh Metcalfe Avatar answered Sep 18 '22 23:09

Josh Metcalfe


Linux uses a different way to set up the device. According to Using Hardware Devices, you need to set up your Linux system as follows:

  1. Edit /etc/udev/rules.d/51-android.rules as root, and add the following line (create this file if it does not exist):

    SUBSYSTEM=="usb", ATTR{idVendor}=="1949", MODE="0666" 
  2. Change the permission of this file by executing the following command as root:

    chmod a+r /etc/udev/rules.d/51-android.rules 
  3. Reload the rules by executing the following command as root:

    udevadm control --reload-rules 
  4. Run these commands to restart adb:

    adb kill-server adb devices 

If everything is ok, you will see your Kindle Fire listed as a device.

like image 23
Yang Tang Avatar answered Sep 17 '22 23:09

Yang Tang