Permanently Save Image and Change Also

@Sarthak

A howto (save canvas and view in gallery) was previously provided:

why do you ignore this ?

1 Like

I did not ignore that. I only forget about it and also the image is saving in Albums(Pictures). I want that the image will save in Albums by the name of the app.

Now it is saving in Gallery by the app name but it is replacing the previous one.

You can code the folder and filename. You may need to create the folder before you save files to it.

How can I make a folder?

Have you found the search facility yet ?

Please help me in this too.

I can't understand that chat.

Yes now I can save canvas as image in gallery by doing some changes according to my app but please help me in the main question. I am very thankful to you for giving the help.

Please help in this question.
Edit: How can I save a image on the screen of the application by the user for forever but whenever the user wants, then the user can change the image?

Edit the image, resize, crop etc., annotate, draw on it ?

open the image, makes the changes, save with the same name

or

Change to a different image?

save a different image to the same name as the existing image

Change to a different image.

as above ...

Okay but how can I permanently save the image on the screen by the user.

I am pretty certain we have already covered the saving of a file earlier in the topic?

permanently seems to be the wrong word, because you are asking to change it....

Yes, we discussed but I did not get my answer. First I want that the user save a picture by himself/herself and if the app closed and then again open, then also that image remains save and that image is showing on the screen. But when the user wants to change the image, he/she can change the image.

store the path to the image in TinyDB

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


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

I did that but when I closed the application and then again open the application, the image is removed from the screen.

Example blocks

image

sets image to a default in assets if no image present, assumes other blocks where image picture is set

Thank you for your help and time. It worked.