So I am saving image files. I was wondering... How can I get my app to make it's own folder when it first starts saving image files... I'm assuming that I just have to specify a path... But I'm wondering if that path is something like /mnt/etc/etc.
Try this:
This extension uses the relative path (for external storage):
relative path:
/myImages/
β
absolute path:/storage/emulates/0/myImages/
So Anke, how do I import the extension?
Does it have to be the .aix? Or the .aia?
Extensions are aix files while projects are AIA files.
Thank you.
Does all this look right? I'm trying to incorporate the creation of a directory for my save files to go into.
what about testing this yourself?
btw. if you are using the canvas, you do not have to first create a directory, the Canvas.SaveAs method is able to create the directory in case it does not exist it will be created automatically, see also App Inventor Code Snippets | Pura Vida Apps
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Ok thank you.
I am actually trying to get the pictures to show up in my gallery. They don't unless I restart the phone... Is this just because it is the companion saving the files and making the directory or will this happen once I build it and install it?
you might want to use the GalleryRefresh method from the tools extension
Taifun
See also here:
Grazie, Ma in appinventor sembra non funzionare, non viene caricato
how is this related to this thread?
please elaborate, see also
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
hope someone help me, how to download file from url(cloudinary) and save it into memory, so it can be seen in gallery, Previously I tried using several methods such as using the file component, then using the web viewer, but it still failed
You do not give the file a name (Responsefilename) so the web component generates one for you. The file will be saved in your ASD.
You do not show your url to download either which makes it difficult to check that you are authenticating with cloudinary correctly....