As I understand in android 10 (API 29) I can access removable sdcard (real sdcard) using android.provider.MediaStore.
Does anyone already used? Can you provide some example?
Before we start: External storage means a real sd card or a connected mass storage USB device. This class can also be used to access the secondary storage (File.DirRootExternal). This becomes relevant with newer versions of Android that restrict direct access. It has nothing to do with runtime...
Before we start: External storage means a real sd card or a connected mass storage USB device. This class can also be used to access the secondary storage (File.DirRootExternal). This becomes relevant with newer versions of Android that restrict direct access. It has nothing to do with runtime...
Thanks for answering DonManfred.
My goal is filling up a list view when the activity is created with all audio files found in the device provided by the content chooser, but I can't understand how to extract all files found by content chooser .
Can I get some help with that?
Thanks Edel,
But in API level 29 I can't access external SD card (as removable storage) it always return the phone storage, even after updated manifest file with read and write permissions.
I want to access the device storage but also the removable storage if is connected.
Maybe I'm missing some updates ?
In java File.ListRoots is a starting point for what I want. Is there semilar in B4X?
But in API level 29 I can't access external SD card (as removable storage) it always return the phone storage, even after updated manifest file with read and write permissions.
You cannot directly access sd cards. It doesn't matter which language you use.
You almost can no longer access the secondary storage.
Everything that you can do is explained in that tutorial.