This is the Android support for Cross-platform, Serial Port library (JNI API).
To build the code:
The following linux headers are imported AS-IS to fix build breaks:
/usr/include/linux/serial.h /usr/include/linux/tty_flags.h /usr/include/sys/signal.h /usr/include/sysexits.h
cd android
ndk-build
If you need to use Java API in android, have a look at https://github.com/chzhong/serial-android.
serial: See README.md at the root directory.
Linux headers: See file header for detail.