iakmds / librecamera

A free and open source camera app for Android written in Flutter and Dart
https://f-droid.org/packages/com.iakmds.librecamera/
GNU General Public License v3.0
278 stars 27 forks source link

Can't choose storage path #22

Closed hamid255 closed 1 year ago

hamid255 commented 1 year ago

My phone doesn't let me choose a storage path at the start of the app. When pressing the choose path button there's just a page with no directory on it:

choose-path no-items

my android's version: 5.1 app's version: 1.1.0, also existed on earlier version 1.0.0 downloaded from f-droid

iakmds commented 1 year ago

Hi, thank you for the issue.

That's weird, what happens though, if you press the hamburger menu at the top left? It says "Recent" in the top left, maybe there aren't recent folders and you have to select the phones storage path and go from there. Let me know if that works

hamid255 commented 1 year ago

the hamburger menu is opened at first, and only option shown is "recent" which is empty. c802f965-df59-4462-85bd-175f5a74505c

Loughty commented 1 year ago

Sounds like you don't have storage permissions, do you check de "allow" option when Android ask it?

Screenshot_20221021-053321.png

If not, or simply don't show anything, then go to "Apps" on Settings, select LibreCamera and manually give him storage permissions!

Screenshot_20221021-053351.png

Try and see if that solve it :D

hamid255 commented 1 year ago

In Android 5.1 apps don't ask for permission, they either have it or not, and Libre Camera in my phone has it:

Screenshot_2022-10-22

I think on/off switches for permissions were added in settings in Android 6. I don't have that.

ghost commented 1 year ago

Hi, i found a bit the same problem. App version 1.1.0 and now 1.2.0 On Android 11: I can choose the path internal/DCIM which works and i can choose internal/newphotos as well but here it does not work. The app can not save the pic. Btw, also the folder DCIM had to exist, the app didn't create it. Hope this helps, froggy.

ghost commented 1 year ago

Still the same in 1.3.0 and also the shutter sound does not work :-(

iakmds commented 1 year ago

Hey,

I'm sorry for that. I don't know where the storage issue may be coming from, I have tested the app on Android 10, 11 and 12 and it was working there... Could you explain your exact issue again, I don't think I fully understand the last part "I can choose the path internal/DCIM which works and i can choose internal/newphotos as well but here it does not work", what do you mean with "here"?

Regarding the shutter sound, that's also unfortunate, if someone else has this issue too I can create a new issue for that.

Thank you.

ghost commented 1 year ago

Hi, With here i meant: When i used the camera with storagepath internal/newphotos the app does not write the image. Further there's no notable difference at all between the storagepath internal/DCIM and the path internal/newphotos. The only difference is that there is no save. Hope this explains, froggy

gadzhi-m commented 1 year ago

Hi. I have a similar problem. On the second step I can't specify the path, I don't get any more windows. Xiaomi rn5, firmware RR, android 10, Libre Camera 1.3.0

iakmds commented 1 year ago

To @hamid255 and @gadzhi-m: Would you like to try out an apk that includes a button that sets the path storage/emulated/0/DCIM as the save path? If that works, it would be an issue with the file picker and I could include such button/text field to type in the path in the next version

hamid255 commented 1 year ago

Sure, I would.

iakmds commented 1 year ago

Thank you. Let me know if it works, here it is: app-release.zip

hamid255 commented 1 year ago

It does work. Thanks!

iakmds commented 1 year ago

Great. Thanks for your reply and your patience. I will probably add a text field for the next version (with the DCIM path as a placeholder) so others with this problem can still set a custom path

iakmds commented 1 year ago

Hi again. A new release is out: v1.4.0, which includes a text field to set the path. I will close this issue, in case there is anything else, please let me know :tada: