k3b / APhotoManager

Manage local photos on Android: gallery, geotag with photomap, privacy, tags, find, sort, view, copy, send, ... .
GNU General Public License v3.0
227 stars 58 forks source link

Unable to delete photo on android-7.1 #95

Open gppixelworks opened 7 years ago

gppixelworks commented 7 years ago

Expected behavior

Delete photo

Actual behavior

Does not delete photo

Environment

k3b commented 7 years ago

Does the app has file write permission?

You can check app permissions: (from https://support.google.com/googleplay/answer/6270602?hl=en

On your device, open the main Settings app Settings.
Tap Apps or Application Manager (depending on your device, this may look different).
Tap the app you want to review.
Tap Permissions. If a permission is turned off, the switch next to it will be gray.
You can consider turning permissions on to see if that resolves your issue. To turn a permission on, move the switch to the right until it turns green.
Try using the app again.

I assume that this is a permission issue similar to #61

spx7 commented 6 years ago

https://github.com/k3b/APhotoManager/issues/80?_pjax=%23js-repo-pjax-container#issuecomment-424665359

hi. write permissons dont work on android7 (fairphone2) here, but ghost commander can delete files. just to work around. I keep using "A photo manager".

thx spx7

GITMichaelK commented 5 years ago

Same here: No permission to delete a .jpg-file stored on SD-card. Android Version: 8.0.0 Device: LG-G6H870 A Photo Manager Version: 0.7.2.181027 My setup definitely has write permission for "A Photo Manager", as requested from k3b

k3b commented 5 years ago

@GITMichaelK Thanks for feedback. Can you create a problem log file , put it in a zip-file and attach it to this ticket? Then i can analyse what is going on. On my android-7.1 it works.

GITMichaelK commented 5 years ago

Thanks @k3b, here some more detail:

GITMichaelK commented 5 years ago

@k3b, today I digged a bit deeper into your comment

Android-6/CM13 rooted: How can I grant write&delete access ? #80

that you have added here. As described, actually with my ANDROID 8.0 phone is not possible to delete files on SD-card

Write-Protected 'storage/3035-3532/DCIM/Camera/20181127_122839_HDR.jpg

My File-Explorer is called Amaze and can be found in F-Droid. Using Amaze, I can delete this or other files on SD-card. May be, this can give a hint.