VES-Image-Compare icon indicating copy to clipboard operation
VES-Image-Compare copied to clipboard

Use Photo picker for image selection: Incorrect image name

Open VincentEngel opened this issue 2 years ago • 7 comments

https://developer.android.com/training/data-storage/shared/photopicker

VincentEngel avatar Oct 26 '23 06:10 VincentEngel

Not going to happen because photopicker image names are just someNumbers.filetype

VincentEngel avatar Oct 27 '23 18:10 VincentEngel

Might be possible with https://developer.android.com/training/secure-file-sharing/retrieve-info

VincentEngel avatar Jan 01 '24 10:01 VincentEngel

https://stackoverflow.com/questions/76094229/android-13-photo-video-picker-file-name-from-the-uri-is-garbage

https://issuetracker.google.com/issues/268079113

Known issue, but I did not find a solution for it yet.

VincentEngel avatar Jan 02 '24 12:01 VincentEngel

Finally something about the picker. I noticed that in the initial releases of the app it was a different image picker. Later around the summer/fall it changed to something else. The old picker is available under 3 dots and "browse". However the new picker has some lags, shows no names and its thumbnails are too large. Not sure if it can be done but is it possible to grab the source code and just add old picker to the newer version? Shame that the picker can update itself in the system.

Burgsch avatar Jan 21 '24 00:01 Burgsch

Hey @Burgsch thanks for your input. Sadly this was done by Android and it happened without any code changes from my side. So the normal image picker is now this new one that does not support correct names...

VincentEngel avatar Jan 24 '24 12:01 VincentEngel

Hey @Burgsch thanks for your input. Sadly this was done by Android and it happened without any code changes from my side. So the normal image picker is now this new one that does not support correct names...

Thanks @VincentEngel for clarification. In the beginning I noticed a weirder picker, even thought my phone got a virus or so. I am surprised Google released such update without it being solid cooked first. Also I haven't realized that such updates came to Android without my permission - I block any updates via OTA, thus I thought I was safe. I checked my older phones, no update. By Ditto (which is now abandoned I think) there is an old picker as well, Google didn't remove the app from the store yet it seems.

Burgsch avatar Jan 24 '24 12:01 Burgsch

That was badly communicated from my side. I did update the Android SDK my App is using, which brought the change. Therefore I hope there will be new options with the next SDK.

VincentEngel avatar Jan 24 '24 16:01 VincentEngel