diff options
| author | Glenn Kasten <gkasten@google.com> | 2014-07-31 11:11:11 -0700 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2015-03-06 16:15:15 +0000 |
| commit | 5afdc97f2e41845e7ddf512814771d4cdf134171 (patch) | |
| tree | 7f8ad621b77403b8961a974557f672d7eee0bafa /docs/html/guide | |
| parent | 87499b275bc7a8d4a12a3134646769a5c6c34829 (diff) | |
| download | frameworks_base-5afdc97f2e41845e7ddf512814771d4cdf134171.zip frameworks_base-5afdc97f2e41845e7ddf512814771d4cdf134171.tar.gz frameworks_base-5afdc97f2e41845e7ddf512814771d4cdf134171.tar.bz2 | |
Fix USB typos
Change-Id: Iefa610a81e9155dcfc687c514611bb7dbba5d7f9
(cherry picked from commit 9e86f6139b62dbc87b7ea97cedf847c847657829)
Diffstat (limited to 'docs/html/guide')
| -rw-r--r-- | docs/html/guide/topics/connectivity/usb/host.jd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/html/guide/topics/connectivity/usb/host.jd b/docs/html/guide/topics/connectivity/usb/host.jd index 355dd2d..f957b60 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 <li><a href="{@docRoot}resources/samples/USB/AdbTest/index.html">AdbTest</a></li> <li><a href= - "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissleLauncher</a></li> + "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissileLauncher</a></li> </ol> </div> </div> @@ -283,7 +283,7 @@ while(deviceIterator.hasNext()){ <h3 id="permission-d">Obtaining permission to communicate with a device</h3> - <p>Before communicating with the USB device, your applicaton must have permission from your + <p>Before communicating with the USB device, your application must have permission from your users.</p> <p class="note"><strong>Note:</strong> If your application <a href="#using-intents">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:</p> <pre> -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 <p>For more information, see the <a href= "{@docRoot}resources/samples/USB/AdbTest/index.html">AdbTest sample</a>, which shows how to do asynchronous bulk transfers, and the <a href= - "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissleLauncher sample</a>, which + "{@docRoot}resources/samples/USB/MissileLauncher/index.html">MissileLauncher sample</a>, which shows how to listen on an interrupt endpoint asynchronously.</p> <h3 id="terminating-d">Terminating communication with a device</h3> |
