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