Skip to main content

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.)





Source: Tips4all

Comments

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

    Paraphrased from the document:


    Edit the adb_usb.ini file (located in ~/.android/)
    Add the lines:


    0x1949
    0x0006


    Save the file.
    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.

    ReplyDelete
  2. 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:


    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", ATTRS{idVendor}=="1949", MODE="0666"


    Change the permission of this file by executing the following command as root:


    chmod a+r /etc/udev/rules.d/51-android.rules


    Reload the rules by executing the following command as root:


    udevadm control --reload-rules


    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.

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is this Javascript much *slower* than its jQuery equivalent?

I have a HTML list of about 500 items and a "filter" box above it. I started by using jQuery to filter the list when I typed a letter (timing code added later): $('#filter').keyup( function() { var jqStart = (new Date).getTime(); var search = $(this).val().toLowerCase(); var $list = $('ul.ablist > li'); $list.each( function() { if ( $(this).text().toLowerCase().indexOf(search) === -1 ) $(this).hide(); else $(this).show(); } ); console.log('Time: ' + ((new Date).getTime() - jqStart)); } ); However, there was a couple of seconds delay after typing each letter (particularly the first letter). So I thought it may be slightly quicker if I used plain Javascript (I read recently that jQuery's each function is particularly slow). Here's my JS equivalent: document.getElementById('filter').addEventListener( 'keyup', function () { var jsStart = (new Date).getTime()...

Is it possible to have IF statement in an Echo statement in PHP

Thanks in advance. I did look at the other questions/answers that were similar and didn't find exactly what I was looking for. I'm trying to do this, am I on the right path? echo " <div id='tabs-".$match."'> <textarea id='".$match."' name='".$match."'>". if ($COLUMN_NAME === $match) { echo $FIELD_WITH_COLUMN_NAME; } else { } ."</textarea> <script type='text/javascript'> CKEDITOR.replace( '".$match."' ); </script> </div>"; I am getting the following error message in the browser: Parse error: syntax error, unexpected T_IF Please let me know if this is the right way to go about nesting an IF statement inside an echo. Thank you.