the extension does not seem to be working with android 11?
@vknow360
how i can scan sdcard and use multi-filter in FileListAsync
i tried “png,jpg,jpeg,gif” in “/” but didnt work…
Extension needs at least one update.
Maybe by Wednesday.
My Apple I bring this often. So I am waiting for the next update
It works fine:
thanks i made my algorithm:
scan directories in /storage
ingore “self” in list (remove)
scan folders in list
Yes, but it sounds a nice idea to implement multi filter support.
There is a small issue with extension that pdf(few other files too) file’s Uri can’t be converted into path.
It will surely be fixed for AppInventor but I can’t say anything about Kodular Companion.
As a workaround we can add the returned fileList to a finalList and call the method with different Filter. But a multifilter would be smarter.
Changes
//foto.png
will refer to /storage/emulated/0/AppInventor/assets/foto.png
(Android < 10)FileList
and FileListAsync
now have multi filter support (separated by ,
)Bug Fixes
PathFromUri
is now compatible with Android >= 10Your Extension to good…
But there are some problem…
When File Moved Block not working…?
Not giving any response, file moved ya field…??
Please fix this error as soon as possible…
You will be happy to know that extension is working fine and does not need any update.
Because those Copied and Moved events are not invoked for synchronous copy and move methods.
But how to know when the file is moved … When Moved File event not working … Not giving any response…
Synchronous methods are run on main thread so one method will be run only when previous method has finished.
In the meantime your app’s UI is blocked to avoid further interactions, if that method requires more than usual CPU usage.
Rally i don’t understand what you say…
Try this block and you will understand:
Hello How to copy file from external storage (sdcard/file.png) to asd ? I get response " can’t copy a directory"
.i m using CopyFileAsync. But if source path from internal storage (storage/emulated/0/file.jpg) than it will be success to copy “copy succesful”
This surely isn’t a valid file path.
what is the correct valid path? I get the source path using
File picker extension