Skip to first unread message

75nikonman75

unread,
Feb 19, 2018, 6:16:12 AM2/19/18
to MIT App Inventor Forum
Hello!
How can I change the default Canera folder in App Inventor?

In my device (Samsung A5 2016) App Inventor create the folder named "Pictures".

Can i change this folder (the name) whit the code of my app?

Thank you!


Taifun

unread,
Feb 19, 2018, 9:52:40 AM2/19/18
to MIT App Inventor Forum
you can't change that default directory

but after taking the picture, you can move it using the file extension https://puravidaapps.com/file.php to a directory of your choice

Taifun

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

Juan Antonio

unread,
Feb 19, 2018, 10:34:15 AM2/19/18
to mitappinv...@googlegroups.com
Here a little modification to Camera component converted to extension, you can set a directory to save photo, example: Fotos/


The directory must be previously created, you can create directory with this extension:


https://groups.google.com/forum/#!category-topic/mitappinventortest/app-inventor-extensions/WIFTLILgFtQ




com.Camera2.aix

75nikonman75

unread,
Feb 21, 2018, 11:21:40 AM2/21/18
to MIT App Inventor Forum
Thank you!
Works!
I have only one problem: How do I create a folder on the SD-card of the phone? All the folders I try to create always end up in the phone's memory and not in the card. How is the path of the card?

Juan Antonio

unread,
Feb 21, 2018, 5:22:25 PM2/21/18
to MIT App Inventor Forum
With this extension the directory must be in the sdcard1, not in the sdcard2

75nikonman75

unread,
Feb 22, 2018, 12:52:33 AM2/22/18
to MIT App Inventor Forum
Thank you.
Difference between sdcard1 and sdcard2 ?


Juan Antonio

unread,
Feb 22, 2018, 3:25:18 PM2/22/18
to MIT App Inventor Forum

75nikonman75

unread,
Feb 23, 2018, 1:02:55 AM2/23/18
to MIT App Inventor Forum
Thanks for the reply!
But there is no way to save photos in the external SD-card? For me it would be important

Thank you very much


Juan Antonio

unread,
Feb 23, 2018, 9:30:12 AM2/23/18
to MIT App Inventor Forum
In this web of Taifun there's a little discussion about  external sdcard


Notes: For copying a file to an external sd...

75nikonman75

unread,
Feb 23, 2018, 2:13:19 PM2/23/18
to MIT App Inventor Forum
Thank you very much!

Another question: Why does the camera show every time the picture just taken? Can you take it off?
I want to shoot so many photos in sequence without giving every time OK


Juan Antonio

unread,
Feb 24, 2018, 3:10:27 PM2/24/18
to MIT App Inventor Forum
Try extension of Taifun:

Reply all
Reply to author
Forward
0 new messages