Hassan
(Hassan)
April 8, 2020, 2:56pm
#49
Thank for the extension.
Could you please assist me to delete a file in the APK?
Both companions and APK return file exists=true but only in companion delete successfully.
vknow360
(Sunny Gupta)
April 8, 2020, 3:13pm
#50
I think it needs write permission.
Ask this permission at screen initialize:
android.permission.WRITE_EXTERNAL_STORAGE
4 Likes
@vknow360 @Taifun
These blocks do not return a list of files from the assets from Kodular (with Companion ):
/storage/emulated/0/Makeroid/assets/…
If there is an AppInventor folder: /storage/emulated/0/AppInventor/assets/…
these blocks return a list of the files in that (AI) assets folder.
How many errors and problems have already been caused by this unnecessary name change from “AppInventor” to “Makeroid” ?
2 Likes
Taifun
April 14, 2020, 7:40pm
#53
well, uncountable errors…
this once was the decision of Kodular formerly known as Makeroid… see also
One thing to note in this update is that the assets when using companion are now saved at /sdcard/Makeroid/ dir, instead of /sdcard/AppInventor/ dir.
Your WebViewer’s GoToUrl function will work even when AppInventor dir is specified as it is replaced internally to use Makeroid dir.
This only breaks @Taifun ’s PathToAssets block with Makeroid
well, that’s a bad idea to rename that directory
Makeroid is an App Inventor distribution, isn’t it? so why renaming the directory? it does not make se…
and after the rebranding to Kodular now everybody is wondering, where does that Makeroid folder come from?
Taifun
2 Likes
Yes, this further name change (from Makeroid to Kodular) doesn’t make it better and certainly not easier to understand.
Taifun
April 14, 2020, 8:12pm
#55
sometimes you make decisions and later you find out, that it was not a good one…
same with the 2 different sound components (Sound and Player) in App Inventor…
we have to take it as it is…
Taifun
Does this block also work with AI2 ?
3 Likes
can i create a folder lock or password?
can you please help me
DevYB
(Ayoub Mounchid)
April 18, 2020, 12:03pm
#60
I think not, but you can zip a folder with a password(not with this extension).
vknow360
(Sunny Gupta)
April 18, 2020, 2:48pm
#61
Simply you can’t (Learn Why? )
But you can do this:
And thank you @DevYB for giving me an awesome idea.
finally I got something to work on during this boring and lonelyfull lockdown
3 Likes
one time download file?
it is possible?
can you please explain with blocks image
vknow360
(Sunny Gupta)
April 19, 2020, 2:36am
#63
Yes it is possible.
You have to check that file exists or not.If it does not exists then download it else proceed.
5 Likes
can you create blocks for me
please help
i need want just blocks image
vknow360
(Sunny Gupta)
April 19, 2020, 10:05am
#65
Can I know what you have tried from yourself?
2 Likes
palmare_as
(Antonio Sansone)
April 24, 2020, 11:43pm
#66
when I use the FilelistAsync method the application closes
1 Like
vknow360
(Sunny Gupta)
April 25, 2020, 12:52am
#67
Thank you.
Can you please check copyfileasync and movefileasync methods?
1 Like