diff --git a/docs/html/guide/topics/connectivity/usb/host.jd b/docs/html/guide/topics/connectivity/usb/host.jd index 355dd2dd91993..f957b60f5fd6e 100644 --- a/docs/html/guide/topics/connectivity/usb/host.jd +++ b/docs/html/guide/topics/connectivity/usb/host.jd @@ -31,7 +31,7 @@ page.title=USB Host
  • AdbTest
  • MissleLauncher
  • + "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissileLauncher @@ -283,7 +283,7 @@ while(deviceIterator.hasNext()){

    Obtaining permission to communicate with a device

    -

    Before communicating with the USB device, your applicaton must have permission from your +

    Before communicating with the USB device, your application must have permission from your users.

    Note: If your application uses an @@ -388,7 +388,7 @@ mUsbManager.requestPermission(device, mPermissionIntent); should have more logic to correctly find the correct interface and endpoints to communicate on and also should do any transferring of data in a different thread than the main UI thread:

    -private Byte[] bytes
    +private Byte[] bytes;
     private static int TIMEOUT = 0;
     private boolean forceClaim = true;
     
    @@ -409,7 +409,7 @@ connection.bulkTransfer(endpoint, bytes, bytes.length, TIMEOUT); //do in another
       

    For more information, see the AdbTest sample, which shows how to do asynchronous bulk transfers, and the MissleLauncher sample, which + "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissileLauncher sample, which shows how to listen on an interrupt endpoint asynchronously.

    Terminating communication with a device

    diff --git a/docs/html/tools/adk/adk.jd b/docs/html/tools/adk/adk.jd index 7e75c11be020a..3f45c3c1cca9c 100644 --- a/docs/html/tools/adk/adk.jd +++ b/docs/html/tools/adk/adk.jd @@ -331,7 +331,7 @@ href="http://arduino.cc/en/Main/ArduinoBoardADK">Arduino Mega ADK (for EU na
  • Install the application to your device.
  • Connect the ADK board (USB-A) to your Android-powered device (micro-USB). Ensure that the - power cable to the accessory is plugged in or that the micro-USB port on the accesory is + power cable to the accessory is plugged in or that the micro-USB port on the accessory is connected to your computer for power (this also allows you to monitor the ADK board). When connected, accept the prompt that asks for whether or not to open the DemoKit application to connect to the accessory. If the prompt does not show up, connect and