A simple library to handle USB serial communication in Android apps.
- List connected USB serial devices.
- Connect to a USB serial device.
- Receive data through callbacks.
- Write data to the connected device.
- Add the JAR file to your project's
libs
directory. - Add the following dependencies to your
build.gradle
file:implementation 'com.github.mik3y:usb-serial-for-android:3.3.0'