That’s is why I want Kodular to remove/not ask permission if user wants to write to ASD or read from ASD and assets.
Please Help …
I need to copy a file from
file:///storage/sdcard/download/test1.mp3
to
file:///storage/C4B6-837F/test1.mp3
I already used the following tools but couldn’t get what I need:
- Taifun tools extension to get available storages
- File component to copy (failed)
- Taifun file extension ( Access denied) although I have permssion READ_EXTERNAL_STORAGE
- Files tools extension ( get nothing copied and no response)
so what would be the correct pathes and what tools should I use?
thanks in adance
see here
Taifun
as workaround you might want to use
Taifun
Would it work with copy async block?
Programmatically not possible since Android 4.4 / KitKat.
Btw, what path is that:
file:///storage/sdcard/
Should be
file:///mnt/sdcard/ or
file:///storage/emulated/0/
Good night its extension is quite good, only that in version 3 these 3 components existed, and in version 8 they no longer exist
Hi @erick_aldo_nogales_sangal Welcome to Kodular Community
Thank you for using FileTools in your project
I am sorry for that.There were bugs in older version so I had to fix them and I found some methods redundant so I removed them.
But if you want then you can still download older versions because very soon I will post older version’s aix file here
@DevYB
‘FileListAsync’ is providing whole path for each file. Is there any way to get only name of each file as a list?
Example - /mnt/sdcard/Download/ Living in the Light.pdf (Currently getting this)
********** But I want to get this for each Item of list Living in the Light.pdf
*****It can be done with SPLIT & INDEX process. But!!
But???
That’s the only way.
another approach taken from the Jukebox example here App Inventor Extensions: File | Pura Vida Apps
Taifun
What is the directory for both onboard and expandable storage of a device? I have used file:///mnt/sdcard/
but it’s only working for onboard storage. Do I have to read expandable storage separately with the help of another directory or is there any other combine directory to read whole device storage(onboard and expandable)?
It does not work on all devices.
Try using /storage/emulated/0/
Please elaborate this more.
/storage/emulated/0/
this is for device onboard(internal) storage & /storage/82C3-E96C/
(NOT WORKING) is for expandable(removable micro SD card) storage So Do I have to read both storage separately with the help of different directories or is there any other combine directory to read whole device storage(internal and micro SD card)?
Do I have to read both storage separately with the help of different directories or is there any other combine directory to read whole device storage(internal and micro SD card)?
I think you have to use different directories to read different storage directories.
I can be wrong because I have no knowledge of modern storage structures.
So you have to wait to get correct answer.
So Do I have to read both storage separately with the help of different directories or is there any other combine directory to read whole device storage(internal and micro SD card)?
See here:
Copy text.txt (3 Bytes) (“abc”) to the root directory of the external (removable) SDcard and try this: getDirs.apk (4.8 MB) : [grafik] [grafik]
and here:
The root directory of the External Storage is: file:///mnt/sdcard/ or file:///storage/emulated/0/ /storage/emulated/0/. file:///sdcard/Makeroid/library/ is the same as: file:///storage/emulated/0/Makeroid/library/ or /storage/emulated/0/Makeroid/library/ These dirs are visible / accessible on your device, where (from an Android point of view) this “External Storage” is called “Internal Storage” (see below): Internal Storage > Makeroid > library For a webView the path to the assets is …
Goal : Extraction of data from both internal and micro SD card(If expandable storage is available)
*** Any comments or suggestions would be appreciated.