How can I programmatically prevent a user from using the USB port of an Android tablet?
I don't think it can be achieved by normal applications. Can it be done with a system application?
Can somebody suggest a good starting point.
How can I programmatically prevent a user from using the USB port of an Android tablet?
I don't think it can be achieved by normal applications. Can it be done with a system application?
Can somebody suggest a good starting point.
You can't do this programatically through any formal API. If you're willing to hack into the kernel, you probably could, but that's going to be device specific.
There is a way to create a enterprise applications that are installed by device administrators on Android Handsets to enforce enterprise mobile handset policies. Have a look at the Documentation for further information. There is something to disable the camera maybe there is also an option to disable USB.
This is a solution to enforce security related rules on corporate handsets. It should not be used to disable USB because it comes handy for your App.