FileTools : Some tools to work with files

is this extension able to work with Android 12, 13, 14?

or is it need any permissions?

becouse I want acess /storage/emulated/0/Download folder for create & delet folders in all Android versions.

the extension works in any Android version, but you might have to ask for permissions depending on what you are trying to do

you only can delete a subfolder in shared storage /Download if that subfolder has been created by your app. The folder must be empty or contain only files, which have been created by your app

Taifun

Okay I got it, is there any permission needed for Android 11+ ? I don’t have 11+ device that’s why I am asking :slightly_smiling_face:

Depends upon what you are trying to do.

just want to create folder for my app and store pdf files in that created folder which is present in /Download/MyFolder

No permission required then, unless user uninstalls your app and tries to access those files with your app.

I recommend you to read this:

1 Like

yes I already readed this topic and I got confused for Android sdk 33 there are three permissions read image, read video, read music this confused me for my work wich permission is good to use.

Are you dealing with media (image , video and audio) files?

no only want to create my app folder in shared storage /Download and want to store pdf files in it which are generated by apps.

I suppose you have found the answer then.

1 Like

hello @vknow360 I need your small help can you give a small update to extention?

I am working with FileListAcync function and found its not loads .exo files it returns only empty List so can you add this functionality to work also with .exo files .

and I didn’t found rename function event block.

Show file list blocks. This is highly impossible unless you are specifically filtering file types.

It is a synchronous method so no need for event.

here arey my blocks​:disappointed:.

I also tried with path /storage/emulated/0/Download/Rename
and .exo filter but got same result [ ]
like this.

here the exo files.

here a slash is missing
unknown
Taifun
PS: you are NOT using Kodular…

1 Like

A slash is missing as Taifun pointed out.

Also, you can’t access non-media files without manage all files permission or SAF.

yes I am not but using this extension please understand my situation.:disappointed:

but okay I removed that other platform screenshot and Uploaded Kodular platform blocks without changing error generating logic, as per your reply.

I updated code with your and Taifun suggestion but got same result empty file list.
I given all file access Permission but not work :confused:. I used Dh extension.

Screenshot_2024-07-29-03-58-30-95_f3af03b833dd7ed0fda0dbe7d8c9008f

The exo files I am trying to retrieve are generated by other app so is that problem generating thread? I copied them in folder named Rename

What is that exactly? Please elaborate…
And read Some basics on Android storage system

Taifun

I did this changes.

I used Dh extension.

Any link to that extension?
All I can see, that the extension does not follow the naming conventions…

Try this extension instead

Be aware that this permission is usually not granted by Google.

Also you first have to grant permission before being able to get a result…

And: try it after building the app…

Taifun