You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
1. After a picture is taken with the camera Android/Ai2 saves that image to file
2. Canvas saveAs saves the background image of the canvas to file
Two different images (they might look the same, but come from different places)
Peppe Czeta
unread,
Apr 29, 2019, 3:43:00 PM4/29/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
yeah, i noticed it but, there is some way to skip the point 1? 'cose it show the normal photo in the gallery and not the modified with canvas
TimAI2
unread,
Apr 29, 2019, 6:10:52 PM4/29/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Using Taifun's file extension it is possible to delete files...
The alternative is to name the canvas saveas file the same as the one saved by the camera (which should overwrite the original), then rename it ? - not tested...
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
ok, thanks!! i'll try!
Peppe Czeta
unread,
May 2, 2019, 2:19:28 AM5/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
i have another problem, i wanna save the photos with the name photo_1, photo_2 ecc.. but every time i close the app it restart from number one overriding old photo, how can i modify this?
Chris Ward
unread,
May 2, 2019, 5:24:53 AM5/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Hi Peppe
You can store the current photo number in TinyDB and restore that number when the App Opens.
Peppe Czeta
unread,
May 2, 2019, 6:30:45 AM5/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Thank you Chris 😊 I tried to solve it putting the time, but what i was really tying to do was the db method, thank a lot