How can I detect the plug and disconnect the Ethernet and USB devices (any device like pendrive) on Android TV. Is there a receiver for this as an internet connection?
I need to check out the TVBox app.
Decision:
Got a solution for ETHERNET - can be checked using TYPE_ETHERNET in ConnectivityManager
but still a usb drive
source
share