Digital doodle: download painted image

Hi,
I need the app to do the following:
-I press a button and it takes a photo (it works)
-I paint on the photo (it works)
-I download the painted photo to my phone (no clue how to do it)

Any ideas? Thank you!!!!

You can use the block:
image
Be aware that the file will be recorded into the ASD not into the "Gallery" of your phone.
Then to move files into specific directories you'd better have a look to @Anke 's posts on the related topic (help on file saving on Android devices) or to the following thread:
Where are canvas files saved to by default when using the block call-Canvas.SaveAs?.
Lastly you can also get info on file saving by referring to @Taifun's extension (com.puravidaapps.TaifunFile.aix), or to @anke's extension (de.bodymindpower.MFile.aix), as well.

Best wishes for a successfully app and for a great new year.

To store it in shared storage, set the default file scope in the project properties to Legacy and use filepath /Download/dots.jpg

To show the file in the Gallery, use additionally the GalleryRefresh method from the tools extension

Taifun

1 Like

I've done
image and in project properties I've selected legacy.
Now, I can see the canva with my drawings in the download folder of my phone. The problem is that something that worked before doing that does not work now: when I take a picture and try to put it as background in my canva the picture does not appear:


Do you know why? Thank you

Display the image from the AfterPicture event additionally in a Label to debug and show us its content

Taifun

Try also a full path:
file:///storage/emulated/...

I've done it with an image instead of a label (can I put an image in a label?):
image
and nothing happens

where should I write this?

grafik

unfortunately you forgot to provide what I earlier asked...

most probably this will be the solution then

Taifun