File component file size not working
tried file in asd with full path and asd relative path both not work and download folder which is shared
File component file size not working
Try this:
i tried it is working perfectly, although using a extension for just 1 method is quite a waste, for now itll do, still hope they will fix the built in one
Where is the file stored? In ASD or shared storage?
And how did it come there? Did your app download it from somewhere? How?
Is your app is the owner of that file?
See also Some basics on Android storage system
Taifun
file is in asd for my actual use case, and i used asd path correctly and it didnt work
file is copied from external storage in asd using saf
Set the file scope to App and try again
Make sur you use the correct path to the file…
Is it in subdirectory Download of the ASD?
You also could use the Exists method to check if the file is there
Taifun
using your extension cause i can not compile apk though
the error is
build failed! cannot read the array length because “b” is null
You did not set FileScope to App before using FileSize
Also it might be, that you have to use a relative path for that method
Taifun
Can you provide more information on this?
Now added in the bug list at
Taifun
other extensions i am using
Thanks for reporting, I will check and fix it.
I tried to build using all these extensions on Screen1. It builds successfully.
If possible can you show blocks how you were using them before?
i do not need to use at all, not need to drag in any screen(activity), just import cause error
my aia
hscWatchfaceDownloader_4(1).aia (370.5 KB)
I imported your aia and also imported ASD Downloader extension in it. There was no issue in compiling the APK.
I don’t think it was related to the extension.
hmm, i can compile before import, after import it dont compile nay more, very weird, anyways i have solved it with existing extension, thanks for the sugestion anyways, ill use it next time when i need