FileTools : Some tools to work with files

Sure I undestand your suggestion I will real try to check the logic and make it not complecated.

But please here is my
Move_File.aia (44.9 KB)
can you try to suggest how I can get the mp4 thumbnail

Blocks you sent in pm are right except thumbPath argument.
Either put empty text or provide a non-existing image path.

I have real tried this most of times but I am getting the error like this

 ["java.lang.RuntimeException: setDat,aSource failed: status = 0x80000000", 

See the blocks I don’t know where am real wrong

I will appreciate if you show the blocks that works from your end.

Something wrong with that 4th video file.

1 Like

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.