Thank you
Feel free to check it when you can.
hmmâŚso you joined two days ago and think it is best
Thanks anyway
Thank you
Feel free to check it when you can.
hmmâŚso you joined two days ago and think it is best
Thanks anyway
Great, works: Companion and APK!
You should also add this to your FileTools extension.
Btw, this also works with AI2 (nb184). Excellent!
Would it be possible to add a save block for the Canvas component?
Yes it is possible
Kindly wait till next update
This extension has worked great for allowing reading and writing to the application specific directory after it was broken by the latest AI2 update. But, in my app, the
block points to:
/data/user/0/{app name}/files/
and not to:
/storage/emulated/0/Android/data/{app name}/files/
Using a Pixel 3 on Android 10
Same on Samsung Tab S6 on Android 10
And thatâs exactly how it should be.
See also here (point â 1.2.)
Many thanks for the clarification, I was assuming âGetPrivateDirâ meant the app-specific directory. I will use the TaifunFile extension for that.
Anyone got the issue âread fromâ block doesnât work for private dir? On companion itâs ok but on installed app component âgot fileâ component doesnât work.
For companion works, for packaged apk doesnât.
This block indicates my files exist.
EDIT: Reading from external storage works. Reading from internal storage doesnât (on apk).
No, the EFile extension cannot save / read to / from the Private dir, neither with Companion nor with the APK.
Both yellow marked blocks save in the same dir (â ASD).
Only the File component can save / read to / from the Private dir:
/data/user/0/io.makeroid.companion/files/test2.txt
But for File component (mistakenly) WRITE_/READ_EXTERNAL
permissions are required.
See also here:
The extension developer (vknow360) is aware of this because I pointed it out to him.
He told me, that he will add this method (save / read to / from Private dir) later âŚ
Yes, your are right! Both on companion and APK reading file from privatedir path doesnât work. I had a mess trought my blocks cause of testing different approaches. Description of the extension suggests the same functionality as default file component, so I spent some hours thinking I was doing something wrong.
So thereâs no way to use private storage without permission. I need a âsafeâ space for my files, but I donât like the idea of attacking my users with permissions when itâs not needed. I have to go back to my old method: download and delete those files continuously.
vknow360, we are waiting for the next version . Great extension btw.
Iâm familiar with that topic. Good job for exposing that bug! And thanks for the answer!
Yes, itâs the same with me.
Unfortunately, he said goodbye here.
Oops, thatâs bad. We have to wait for kodular âmanagementâ to make it work correctly. Writing extensions on my own will take too much time to learn, and we use kodular to spare time. ASD without permission is still a good deal.
I hope it is not a problem I am replying to an old comment. In your comment you say it is not possible to read/write from the Private dir with this extension. To which dir it is possible to use this extension?
you can read from the assets and you can read or write from/to the ASD without read or write permission
Taifun
vknow, do u have plans to make private dir read/write works?
New Blocks
Changes
LegacyMode
will now specifiy where a filename without any /
should be written to.Enabling it means files will be written in Application Specific Directory and disabling it means files will be written in Private Storage Directory.Aix can be downloaded from Github repo:
Bug, fileName is not filename, - is Path.
Path need fix for various android
Thatâs intentional to keep it similar to File component as much as possible.
Can you elaborate what are issues?
all ok) think way in different versions android