I'm trying to use SerialManager and SerialPort APIs to read from a device node. Android studio says that it cannot resolve the symbol for both these APIs.What are my chances to use this API in Studio? I'm using Android SDK version 25 BTW.
Asked
Active
Viewed 487 times
1 Answers
1
Both classes SerialManager and SerialPort are hidden, so you can not access it. See below for declarations of both classes
/**
* @hide
*/
public class SerialManager {
.....
}
and
/**
* @hide
*/
public class SerialPort {
...
}
Other ref :

Pankaj Kumar
- 81,967
- 29
- 167
- 186