S3c Usb Host Android Apk now has a special edition for these Windows versions: Windows 7, Windows 7 64 bit, Windows 7 32 bit, Windows 10, Windows 10 64 bit,, Windows 10 32 bit, Windows 8, Windows XP Home Edition, for home desktops and laptops 64bit, Windows 7 Starter 64bit, Windows 10 Mobile 64bit, Windows 7 Service Pack 1 (Microsoft Windows NT.
This is a driver library for communication with Arduinos and other USB serial hardware onAndroid, using theAndroid USB Host APIavailable on Android 3.1+.
No root access, ADK, or special kernel drivers are required; all drivers are implemented inJava. You get a raw serial port with
read()
, write()
, and other basicfunctions for use with your own protocols.- Homepage: https://github.com/mik3y/usb-serial-for-android
- Google group: http://groups.google.com/group/usb-serial-for-android
- Latest release: v0.1.0 (November 13, 2012, see CHANGELOG)
Quick Start
1. Download usb-serial-for-android-v010.jar
2. Copy the jar to your Android project's
libs/
directory. (See Android's FAQ for help).3. Copy device_filter.xml to your project's
res/xml/
directory.![Phones Phones](/uploads/1/2/5/8/125860239/240560253.jpg)
![S3c Usb Host Driver For Android S3c Usb Host Driver For Android](http://img.talkandroid.com/uploads/2010/10/HTC-Desire-HD1-500x387.jpg)
4. Configure your
AndroidManifest.xml
to notify your app when a device is attached (see Android USB Host documentation for help).5. Use it! Example code snippet:
For a more complete example, see theUsbSerialExamples projectin git, which is a simple application for reading and showing serial data.
A simple Arduino applicationis also available which can be used for testing.
Compatible Devices
- Serial chips: FT232R, CDC/ACM (eg Arduino Uno) and possibly others.See CompatibleSerialDevices.
- Android phones and tablets: Nexus 7, Motorola Xoom, and many others.See CompatibleAndroidDevices.
Author, License, and Copyright
usb-serial-for-android is written and maintained by mike wakerly.
This library is licensed under LGPL Version 2.1. Please see LICENSE.txt for thecomplete license.
Copyright 2011-2012, Google Inc. All Rights Reserved.
Portions of this library are based on libftdi(http://www.intra2net.com/en/developer/libftdi). Please seeFtdiSerialDriver.java for more information.
Help & Discussion
For common problems, see theTroubleshootingwiki page.
For other help and discussion, please join our Google Group,usb-serial-for-android.
Are you using the library? Let us know on the group and we'll add your project toProjectsUsingUsbSerialForAndroid.