in my application, I want to enable / disable the USB connection in the phone or tab (based on Android) programmatically. I searched googled but did not find any solution. If possible, give me some ideas on how to do this. some useful code for the same.
source
share