Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot detect usb mass storage volume #8

Closed
Skys777 opened this issue Jan 18, 2021 · 4 comments
Closed

Cannot detect usb mass storage volume #8

Skys777 opened this issue Jan 18, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@Skys777
Copy link

Skys777 commented Jan 18, 2021

Does simple storage support detect usb mass storage? such as usb pen drive or hdd external storage devices.
when i try listing using DocumentFileCompat.getStorageIds(context), it only shows storage volume in /storage/...

Any suggestion read/write file from/to usb mass storage? or this SimpleStorage library will extend to usb mass storage reader also?

@anggrayudi
Copy link
Owner

Currently, this library does not support USB mass storage. But I will add this capability on the next release.

@anggrayudi anggrayudi added the enhancement New feature or request label Jan 21, 2021
@Skys777
Copy link
Author

Skys777 commented Jan 27, 2021

@anggrayudi ok thanks. wait for next release.
btw, is it possible read by URI to file in USB mass storage (e.g sandisk)? currently in android 10, i used the manual inputstream method to read the file. cause i read some posts in SO or other article it is not possible to write to external usb mass storage due to API >= 29 goole change restriction on read and write file to android storage system.

@anggrayudi
Copy link
Owner

I can't promise this support to be added soon, since handling USB mass storage is more complex than I imagined. Current SimpleStorage does not support read & write access to the USB mass storage.

@Skys777
Copy link
Author

Skys777 commented Mar 4, 2021

ok noted. thanks for the helpful library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants