I have one more question,
I use: GetAllSafeDirExternal, as a result I get 2 paths. The second path is the sd-card. The Problem is, i cant convert an array to string. And if i use this array, i get errors.
My Code:
Dim rp As RuntimePermissions
Dim folders As List = rp.GetAllSafeDirsExternal("")
Dim List2 As List
List2.Initialize
List2.AddAll(folders)
List2.RemoveAt(0)
astream.StreamFolder = List2
Result:
(ArrayList) [/storage/0123-4567/Android/data/b4a.testing/files]
Errors:
Error: (ErrnoException) android.system.ErrnoException: open failed: ENOENT (No such file or directory)
Permission to write on there is set:
AddPermission("android.permission.WRITE_EXTERNAL_STORAGE")