I've already obtained this permission:
uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
save file to local is ok. But I cannot save to USB
storage device.
How to obtain another write permission?
I've already obtained this permission:
uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
save file to local is ok. But I cannot save to USB
storage device.
How to obtain another write permission?
UsbManager.requestPermission()
can be used with aBroadcastReceiver
:which has to be registered:
and then one can request the permission:
see USB Host for how to transfer - and how to
releaseInterface()
andclose()
.