save pictures/files outside of csentry folder
save pictures/files outside of csentry folder
I would like to know the correct way of saving a file or picture outside of the csentry folder. I don't want enumerators going into the csentry folder. So I would like to save to another folder already created outside of the csentry folder.
Re: save pictures/files outside of csentry folder
Typically I recommend saving it to the application folder like this:
execsystem("camera:" + pathname(Application) + "photo.jpg");
However, if you want to save it outside the csentry folder you could try:
execsystem("camera:" + pathname(CSEntry) + "../photo.jpg"); // Save one folder up from csentry
execsystem("camera:" + pathname(CSEntryExternal) + "photo.jpg"); // Save to SD Card
execsystem("camera:" + pathname(CSEntryExternal) + "photo.jpg"); // Save to SD Card
Re: save pictures/files outside of csentry folder
Thanks so much for the help. I took the long way before I got your answer. I used the full path. Your version is more code friendly.