Clarification request. Is it that Android 4.4+ doesn't allow data to be saved into ANY path in the external SD card or is it that an application can't store data into a path the application has picked?
Example:
Android won't permit app to pick /storage/sdcard0/[application specific path]/myphotos
I give OC the path /storage/sdcard/mypictures/opencamera/ and it will honor that?
My primary concern here is that it seems that case 2 above does work and I'm hoping my stuff isn't ending up in the land of lost socks.
However, I have found that the onscreen indicator of storage space doesn't honor that setting and only reports on internal storage.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's supposed to be that an application can't save to external SD card, whether or not the user has picked the path (Android 5 meanwhile allows permission, as long as the user explicitly picks the directory via the "Settings/More camera controls/"Use Storage Access Framework" option).
If it does seem to be working (as in you can see the photos really have been saved there), then firstly - are you sure that's really the external SD card? (Usually /storage/sdcard0 will actually be the internal storage these days, and external SD card is another path which is typically ddvice specific.) If this really is working to save photos onto the external SD cards, I'm not sure why it works - possibly the device you have runs a version of Android that doesn't have this restriction (OEMs typically make modifications to Android, and don't have to follow with Google restrictions - but the Android 4.4 changes were big news because the major OEMs went with the restrictions).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just commenting to provide information in the hopes it helps someone...
If it does seem to be working (as in you can see the photos
really have been saved there), then firstly - are you
sure that's really the external SD card?
Double/triple checked, yes, it is saving the photos onto the storage card but not in an "android" path. I admit to being very green with Android. Seeing the options available I decided to take a punt and I created place on my sd card for storage because nothing else seemed to work as expected.
/storage/external/DCIM/OpenCamera <--- The one I created
/storage/eumlated/legacy/DCIM/OpenCamera <--- The one(s) OC created. (Empty)
/storage/emulated/0/DCIM/OpenCamera <----/
And the photos I take with OC are ending up in the first one, the one I created which are on my external SD card.
See http://opencamera.sourceforge.net/#faq "How can I save to my external SD card?" for more details on SD cards for each Android version. Yes indeed, annoyingly this isn't possible with Android 4.4, but things are better for 5, and look even better for 6 :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm confused and am running Android 5.1 with the "Use Storage Access Framework" checked. "SD card" is selected as a "Save" location. Images are saved and appear in the Gallery, but every time a "Failed to take picture" dialog appears.
Specifically it turns out the image files are then located in a new directory I created at: /storage/sdcard0/DCIM/OpenCamera.
I also tried setting "Internal storage" as a "Save" location. Again images are saved, but the "Failed…" dialog still appears. Those image files are then located at: /storage/sdcard1 (no specific OpenCamera directory for this test).
What's needed to avoid the confusing "Failed to take picture" dialog? Are reboots or "Clear data"s needed when changing storage locations?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is a restriction with Android 4.4+. You need to root the device (towelroot) and download a 'sdfix' (or similar) on app store to fix it. It is very straightforward process. On your phone browser just go to towleroot.com and follow the instruction ( a few clicks) to root the phone. Afterward go to app store and download 'sdfix' or a similar app to fix the permission issue. Just reboot and you are set.
Last edit: Anonymous 2016-02-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have found the sol. without rooting, go to settings, more camera controls, turn' use storage access framework' to on, then it will open a window to select a folder ( if there are no storages appearing, then click the three dots on the top right and click on show storage, then select the folder
Last edit: Anonymous 2017-04-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-04-24
Thank you very much, it works like a charm !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-05-10
There is no such option (use storage access framework). (Android 4.4.2 , OC v1.43.3)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Sorry, please reject this ticket. It's a limitation with Android :-(
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Do you have more info on the Android limitation? I recently changed my save location and have the same issue now. Why can't it save to extSD?
See http://www.androidpolice.com/2014/02/17/external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them/ for details on the Android 4.4 restrictions.
On Android 5 this is possible using a new option in Open Camera, see http://opencamera.sourceforge.net/#faq for details.
Clarification request. Is it that Android 4.4+ doesn't allow data to be saved into ANY path in the external SD card or is it that an application can't store data into a path the application has picked?
Example:
My primary concern here is that it seems that case 2 above does work and I'm hoping my stuff isn't ending up in the land of lost socks.
However, I have found that the onscreen indicator of storage space doesn't honor that setting and only reports on internal storage.
It's supposed to be that an application can't save to external SD card, whether or not the user has picked the path (Android 5 meanwhile allows permission, as long as the user explicitly picks the directory via the "Settings/More camera controls/"Use Storage Access Framework" option).
If it does seem to be working (as in you can see the photos really have been saved there), then firstly - are you sure that's really the external SD card? (Usually /storage/sdcard0 will actually be the internal storage these days, and external SD card is another path which is typically ddvice specific.) If this really is working to save photos onto the external SD cards, I'm not sure why it works - possibly the device you have runs a version of Android that doesn't have this restriction (OEMs typically make modifications to Android, and don't have to follow with Google restrictions - but the Android 4.4 changes were big news because the major OEMs went with the restrictions).
Just commenting to provide information in the hopes it helps someone...
Double/triple checked, yes, it is saving the photos onto the storage card but not in an "android" path. I admit to being very green with Android. Seeing the options available I decided to take a punt and I created place on my sd card for storage because nothing else seemed to work as expected.
So, here's what my storage looks like:
This is my external microSD card I added:
I find three "OpenCamera" directories:
And the photos I take with OC are ending up in the first one, the one I created which are on my external SD card.
My unit is:
Thanks for listening and explaining! :)
See http://opencamera.sourceforge.net/#faq "How can I save to my external SD card?" for more details on SD cards for each Android version. Yes indeed, annoyingly this isn't possible with Android 4.4, but things are better for 5, and look even better for 6 :)
I'm confused and am running Android 5.1 with the "Use Storage Access Framework" checked. "SD card" is selected as a "Save" location. Images are saved and appear in the Gallery, but every time a "Failed to take picture" dialog appears.
Specifically it turns out the image files are then located in a new directory I created at: /storage/sdcard0/DCIM/OpenCamera.
I also tried setting "Internal storage" as a "Save" location. Again images are saved, but the "Failed…" dialog still appears. Those image files are then located at: /storage/sdcard1 (no specific OpenCamera directory for this test).
What's needed to avoid the confusing "Failed to take picture" dialog? Are reboots or "Clear data"s needed when changing storage locations?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
It is a restriction with Android 4.4+. You need to root the device (towelroot) and download a 'sdfix' (or similar) on app store to fix it. It is very straightforward process. On your phone browser just go to towleroot.com and follow the instruction ( a few clicks) to root the phone. Afterward go to app store and download 'sdfix' or a similar app to fix the permission issue. Just reboot and you are set.
Last edit: Anonymous 2016-02-17
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
i have found the sol. without rooting, go to settings, more camera controls, turn' use storage access framework' to on, then it will open a window to select a folder ( if there are no storages appearing, then click the three dots on the top right and click on show storage, then select the folder
Last edit: Anonymous 2017-04-29
Thank you very much, it works like a charm !
There is no such option (use storage access framework). (Android 4.4.2 , OC v1.43.3)
See the early comments in this thread - saving to SD cards isn't supported on Android 4.4 due to Google restrictions.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
RESPECT. You solution it's "the" solution! Thanks a lot.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
good job, its working :DD
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
WOO !! IT WORKED HERE TOO!! THANKS!!
gracias, es la soluciòn!
I already have all my settings correct. It worked yesterday, but it stopped working today.
using fairphone with android 10. was not able to save in dcim. fixed it by saving to Dowloads.
It must be something about permissions.