Direct Download


#1

Hi i just made a button to download an image automatically from a button. But this image downloads in folder MyDocuments/Downloads/archiv.jpg, but i don`t want that route.
Any who help me?

image


#2

Where do you want it saved?


#3

In the Gallery of the phone


#4

the Gallery is able to display images from all directories of your device… what you need is a Gallery Refresh… see the tools extension

and if you like to store the file in another directory, set the ResponseFilename property… see also the documentation…

Taifun


#5

but which blocks i need to use


#6

apart from that, or just that?


#7

instead of only writing here in the forum, what about first thinking before writing and trying some things?
this can avoid useless questions…
btw. there also is a test project available there https://puravidaapps.com/tools.php

Example App: Save Canvas and Gallery Refresh Demo

Taifun


#8

I do not think it’s right to talk that way to a beginner and novice. But hey, thank you.


#9

you are welcome

see also the following general tips

and

A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


#10

@Surinder It’s a great privilege to meet Taifun as a novice. I met him as a novice at puravidaapps.com and I’m a pro today. As a beginner, there’s always the eagerness to jump at everything and get all working. Try his tutorials and heed his advice here. You’ll be fine.


#12

I want to save it in sdcard0 create a new folder here named bombsquad and save file in bombsquad


#13

Please please please give us some example blocks to save it in sdcard0/bombsquad/(here)


#14

the web component is not able to store a file on an external sdcard
use the file extension and move it from the internal to the external sdcard
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#15

Thank you very much the extension solved the problem.:kissing_heart::blush: