BroadcastReceiver for Ethernet(RJ45) and USB in Android TV -
how can detect plug , unplug of ethernet cable , usb devices(any device pendrive) in android tv. there receiver internet connectivity? i need check tvbox app. solution: got solution ethernet - can checked type_ethernet in connectivitymanager but still usb remaining ethernet check out connectivitymanager the connection type type_ethernet usb check out usbmanager broadcast action_usb_accessory_attached .