Android Question How To Access External Files?

Big Dave

Member
Licensed User
Longtime User
I need to read an excel spreadsheet and create a sql database. I have achieved it before but I am porting the app to a new tablet with a newer android version and cannot find where I can locate the external file or what code changes are needed. Listing the file locations gives me:
DirDefaultExternal = /storage/emulated/0/Android/data/b4a.konnqa3/files
DirInternal = /data/user/0/b4a.konnqa3/files
DirRootExternal = /storage/emulated/0
I cannot find any of these locations on the tablet? Are there restrictions on accessing external files with the newer versions of Android.

Thanks in advance for any suggestions.
 

Alex_197

Well-Known Member
Licensed User
Longtime User
I need to read an excel spreadsheet and create a sql database. I have achieved it before but I am porting the app to a new tablet with a newer android version and cannot find where I can locate the external file or what code changes are needed. Listing the file locations gives me:
DirDefaultExternal = /storage/emulated/0/Android/data/b4a.konnqa3/files
DirInternal = /data/user/0/b4a.konnqa3/files
DirRootExternal = /storage/emulated/0
I cannot find any of these locations on the tablet? Are there restrictions on accessing external files with the newer versions of Android.

Thanks in advance for any suggestions.
It's not possible anymore since Android 11.
You need to connect your device with the USB cable to the computer and then you will be able to open a device as a network drive.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top