Closed zgmd closed 3 years ago
You can try to use UsbManager.ACTION_USB_ACCESSORY_DETACHED and UsbManager.ACTION_USB_ACCESSORY_ATTACHED)
ok,thanks
ACTION_MEDIA_UNMOUNTED
means that the media was umounted, not removed!
So what it tells you is that your Android OS is capable of mounting USB disks. You can just access files as usual over built in Android tools. If you tell libaums
now to access the USB disk, then the media is unmounted from Android OS.
Problem
Expected behavior
Actual behavior
Stacktrace of Excpetion
Code where problem occurs