mobile icon indicating copy to clipboard operation
mobile copied to clipboard

problem importing photos from the android device gallery

Open marcuzz0 opened this issue 3 years ago • 5 comments

Hi, I have a problem with an android device when I import photos from the gallery. If I take a photo it is correctly displayed, while if I upload it from the gallery it returns me:

"the image is not available: / image.jpg"

i checked the paths from the qgis project and everything is correct:

@project_folder + '/media'

in fact on another android device everything works correctly. Some idea?

PS currently i have beta version 1.3.0

marcuzz0 avatar Mar 28 '22 16:03 marcuzz0

related to https://github.com/lutraconsulting/input/issues/655

PeterPetrik avatar Apr 01 '22 05:04 PeterPetrik

I think this is a separate issue

https://user-images.githubusercontent.com/2649047/161203838-e06e6b43-5708-4be0-9570-b5f92f01a67c.mov

.

saberraz avatar Apr 01 '22 05:04 saberraz

A user reports problem with adding an image from gallery on their Android 10 mobile.

I can confirm it as well on my Redmi Note 8 (Android 10)

obraz

All the permissions for MM Input are granted.

erpas avatar Aug 24 '22 11:08 erpas

Do we have a project to test this with?

tomasMizera avatar Aug 26 '22 11:08 tomasMizera

I do have the same problem. For me it is failing all the time. So I guess there is no special case to test. Just one addition: In my case it failed with a custom photo folder.

bastooo avatar Sep 29 '22 16:09 bastooo

Same problem, but not all devices. So @tomasMizera I think this is Android permission related issue. For example:

Poco X3:

photo_2022-12-08_10-50-05

Xiaomi Mi 9T Pro:

photo_2022-12-08_10-50-20

All permissions are accepted but when using gallery Mi 9T says that copying failed, whether it is a root folder or subfolder. Poco X3 on doesn't have any problems with that.

dracic avatar Dec 08 '22 09:12 dracic

probably fixed by https://github.com/MerginMaps/input/pull/2834 in release v2.4.0, lets reopen it if the issue persists with 2.4.0 too.

PeterPetrik avatar Oct 06 '23 06:10 PeterPetrik