1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00
serial/android/README.md

32 lines
694 B
Markdown
Raw Normal View History

2016-01-25 16:28:29 +08:00
# Serial Communication Library for android (JNI API)
2016-01-25 16:28:29 +08:00
This is the Android support for Cross-platform, Serial Port library (JNI API).
### Dependencies
2016-01-25 16:28:29 +08:00
To build the code:
* NDK r10 (http://developer.android.com/intl/ndk/downloads/index.html)
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
2016-01-25 16:28:29 +08:00
### Build
2016-01-25 14:28:12 +08:00
cd android
ndk-build
2016-01-25 16:28:29 +08:00
### About Java API
2016-01-25 16:28:29 +08:00
If you need to use Java API in android, have a look at https://github.com/chzhong/serial-android.
2016-01-25 16:28:29 +08:00
### License and Author
serial:
See README.md at the root directory.
Linux headers:
See file header for detail.