Hi, I'm having trouble figuring out when/where/how to notify the OS of a callback sub to be notified when a usb device is connected.
I already have my manifest with this intent filter:
android.hardware.usb.action.USB_DEVICE_ATTACHED
I'm using the USBSerial example for registering my intent/device. (modified to include pl2303)
Basically, I want to get notified when a device(i.e. printer) has been re-connected if it was disconnected for whatever reason.
Thanks!
John
I already have my manifest with this intent filter:
android.hardware.usb.action.USB_DEVICE_ATTACHED
I'm using the USBSerial example for registering my intent/device. (modified to include pl2303)
Basically, I want to get notified when a device(i.e. printer) has been re-connected if it was disconnected for whatever reason.
Thanks!
John