Try \r\n instead of \n.
Besides, instead of a split block, you can use a special block "csv table to list". You will find it in the blocks of the list.
Try \r\n instead of \n.
Besides, instead of a split block, you can use a special block "csv table to list". You will find it in the blocks of the list.
ok, last issue. This all works for API < 29, but I have learned that for API > 29, files can not be saved to a given directory, they have to be saved in the ASD directory.
So I changed it a little bit, but on my Google Pixel (Android 11), nothing happens
Does it really work? I don't think so, at least not with the compiled app (APK).
//
) and as I said this path: //files/
doesn't exist (and will never be created). So remove the .IsDevelopment
and if_then_else
blocks.global strPath
See also here:
Dear Anke,
it worked, but I changed it as you mentioned and Download still works.
However, path to the file looks like this:
BUT, the copy Function is still not working...
So the Web
component also adds the ASD path (like the File
component):
/storage/emulated/0/Android/data/<packageName>/files/
automatically. Try this:
I think I know whats wrong:
fileName is the complete path , eg --> /storage/emulated/0/Android/data//files/files/file.pdf
so this:
Would lead to the following path:
/storage/emulated/0/Android/data//files/files/storage/emulated/0/Android/data//files/files/file.pdf
Am I right?
So what would be the correct blocks?
Yes, the path is correct. But did you get an error message?
What do you get from the .Copied
event?
No, the block / path is correct and should be:
/storage/emulated/0/Android/data/<packageName>/files/files/file.pdf
It looks like the variable "fileName" is not the correct value. It contains the entire path to the file instead of just the filename.
The question is if this path / file exists. Check that.