I want to have Serial Communication between Android Device and Linux Ubuntu Laptop.
I am targeting Android version Oreo-8.0 API Level–27.
Android phone and Laptop will be connected over Micro USB(Android) to USB(Linux).
On Android I found below Answers useful for Serial Communication:
- Android USB host-to-serial connection?
: Answer talks about using external libraries like https://github.com/felHR85/UsbSerial - How to read and write data to COM/Serial ports in Android?
: Answer talks about using Android provided APIs
Question: Do we need to use external libraries to access/read/write Micro USB Serial Port on the Android mobile, or Android SDK provided the necessary APIs for Serial Communication?