I just downloaded it myself as I had version 10 and yes that’s the link
In Kodular check your extension version
/Boban
I just downloaded it myself as I had version 10 and yes that’s the link
In Kodular check your extension version
/Boban
Well, it worked. But this Makeroid folder is a folder created by the
Companion, right?
When I export the APK and sent it to someone else (who doesn’t have that folder), it won’t work, am I right?
As Ontstudios stated, I will need to download the mp3 from the internet first?
Hmmm, I understand your whole idea, but wasn’t the Taifun’s extension created exactly to do that? I mean, with this extension, we would be able to download files from the apk assets, right?
How big is yours mp3 files and if you plan to have large files then you will have to download the files at some point
Btw, did you try my blocks above or the test aia as it works for me
/Boban
Yes, it should work that way, as Boban said.
But maybe you forgot to ask for WRITE_EXTERNAL_STORAGE permission first. Because you write in the external storage.
(Companion does not need this permission, only the APK)
See Taifun’s File extension description:
Note : WRITE_EXTERNAL_STORAGE is sufficient as it implicitly grants READ permission.
So no need to ask for READ permission.
It worked!!!
Thanks for all your help!!! ONT Studios, Stiaen, Boban and Bodymindpower!!!
Here is my final “code”:
When I’m using the companion, the copy doesn’t work. But in the APKs it works fine.
I even added a share component and it worked fine (here I needed to use the whole directory, as stated by Ontstudios).
I’ll leave the AIA file, so anybody can use it.
Yeah.aia (60.0 KB)
That’s strange
/Boban
my guess is, this is because for the companion app Kodular unfortunately does not use the/AppInventor folder, but a /Makeroid folder?
see also
@Boban, are you saying, the Copy method works fine for you using the companion app of Kodular?
Taifun
the final blocks should look like this
Taifun
Yes it does, on Samsung Note8 Android 9
I can also test with my other phones/versions just to make sure it works even on them
/Boban
That makes a lot of sense!
The copy only works with the apk. I’ve tried soooo many times with the Companion and it never worked.
Oh, I’m using a Moto G Android 6.0
–
Alright, thanks!!!
–
That would be amazing!! Thanks a lot!
–
Btw, I’m aware that I’m pretty new to this Kodular world and something might have slipped under my radar. I really hope I’m not doing some extremelly silly mistake and making you guys waste your time in here!
I tested also an a Galaxy Note8 Android 9 and for me it does not work.
So I made some adjustments:
see also here:
Don’t know why it doesn’t work for you, this is what I get
Edit: Ignore my answers as I figured out why it works for me, a clue using multiple builders
/Boban
Are you absolute sure that this folder / path does not exists on your device?
/mnt/sdcard/AppInventor/assets/
and also that this file does not exists:
/mnt/sdcard/AppInventor/assets/WooHoo.pdf
If this folder exists on your device, delete it and try again.
That’s what I wrote above
/Boban
ok, I am too late
Never liked that folder change from AppInventor to Makeroid as you get so confused
/Boban
So, trying to summarize the whole thing: the copy will work fine with the APK but won’t with the Companion (because the folder new name).
That’s it?
No, it should also work with Companion the way I have shown, so test my aia: Yeah2.aia (see above).