Programmatically prevent USB file system pop-up when plugging in USB via OTG cable connected to Android device

118 views Asked by At

I'm creating an Android app to access a file system of a USB mass storage drive via an USB-OTG cable.

When I attach the drive via cable, the file system pops up automatically.

Is there any way I can programmatically prevent this?

0

There are 0 answers