I get different pathes from my startingintent with Intent.ExtrasToString like the followings:
and it seems, that these pathes are always different on different devices.
Now I want to use the path to work with like file.copy, but the operations doesn't accept a path which begins with file:///
Is there a solution which works for all pathes?
B4X:
Path=file:///storage/extSdCard/Download/test.txt
Path=file:///storage/emulated/0/....
Path=file:///storage/sdcard0/....
and it seems, that these pathes are always different on different devices.
Now I want to use the path to work with like file.copy, but the operations doesn't accept a path which begins with file:///
B4X:
File.Copy("", Path, File.DirRootExternal , test.txt)
Is there a solution which works for all pathes?