Once again I am here to present my second extension to community.
Probably you have read in title , the name of extension is FileTools and features are similar to its name.
It provides tools to work with Files (folders also).
Latest Version: 2
Last Updated: 2019-10-01T18:30:00Z
A wide range of blocks…
It has total 32(can be less or more) blocks
As it has ‘so many’ blocks so I will show how to use them one by one.
Returns true if Application Specific Directory (/storage/emulated/0/Android/data/
<package name>/files) exists else false
Returns a list of available storage directories.Something like C: , D: and G:
Copies file from source to destination folder.It triggers ‘FileCopied’ event will boolean
Note: It can not create folder.It can only copy files between existing folders
Creates Application Specific Directory (/storage/emulated/0/Android/data/
<package name>/files) in case it does not exists
Creates a single directory.It triggers ‘Directory Created’ with boolean
Note:It can not create multiple directories.In this case, this will not work if ‘data’ does not exists
Deletes a file if it exists.It triggers ‘FileDeleted’ event with boolean
Returns true if file or folder exists else false
Gets file extension(mp3,mp4,txt,etc) of file.
Note: Sometimes it can return
.fileif it is unable to get file extension
Gets file list from the given folder with filter (if applied)
Note: If filter is empty then returns folders also
Returns that file is hidden or not
Checks that given path is complete path or not
For example: /testt.txt and /mnt/sdcard/Android/com.sunny.notez/files/testt.txt are not same.
More blocks’ usage will be added soon.
Here are two download links:
1.Download link 1: File_Tools.aix (16.9 KB)
2.Download link 2: File_Tools.aix - Google Диск
It was not only me who was included in making this extension.
A lot of people helped me to make this extension.
I want to say thank you @deepanshu_da85 and @MeteorCoder for helping me in making FileTools
StackOverFlow also helped me a lot in making FileTools
And a lot of thanks to @KodularCreator for this awesome platform
ChangeLog Version 2
Added two new blocks
- All methods returning files list will now return empty list(if files list is empty) instead of runtime error
- Mime Type method will return mime type with more accuracy.
- Fixed some null pointer exceptions