No, even if WRITE permission is granted, it doesn’t work. Nothing happens, no error message …
Can you share a simple apk? Then I can test it with logcat if there is any message
Just a question but look at the input path. It starts with 2 //
That means the file path is external. And you know the companion stores his files external. That’s why it works for you with companion but not as apk
It starts with 2 // That means the file path is external.
No, this should be the path to the assets:
File_copyFromAssets.apk (4.9 MB)
Or what is the correct path to the assets in Kodular?
Taifun’s extension is not our component. So you can not expect that his block description is the same for our component.
If it’s a asset file then just use it’s name like “text.txt” and not “//text.txt”
Of course, you are right, but I tried every path, also without a slash.
Doesn’t work too.
See here:
Yes I know. I just looked at the code and it can not work.
I need to rewrite it. Not sure who of us (Kodular) created these blocks.
As I said, I have reported this bug several times, see e.g. here:
of course this should be possible and therefore is a bug…
and it should work with //text.txt in the companion app as well as the apk
now added in the bug list here Bugs in Kodular Eagle
Taifun
It should therefore also be in the bug list.
@bodymindpower I try to fix the broken block for copy files now. It will use the same logic like taifuns extension. If started with 2 slashes then it’s a asset.
I try to fix the broken block for copy files now. It will use the same logic like taifuns extension. If started with 2 slashes then it’s a asset.
Is there anything new about when that will be fixed?
It does not work yet.