-
-
Notifications
You must be signed in to change notification settings - Fork 97
Background image does not work #135
Comments
I think the error lies in the ImageUtils class. At least in my testing (Pixel 2 API 27 emulator) I got the following values: So that path (from which further down below the File object is created) does not exist, resulting in a black background. I could fix the missing background by changing line 30 to: N.B.: I really have no idea, how the backgroundUrl from preferences or Uri.parse().getLastPathSegment() might behave differently on other devices/API versions. Does anyone around here know better than me? |
What I've gleaned from catching up on the documentation is that file paths should not be a requirement for media files, and what Alarmio is doing (trying to morph a The MediaStore documentation mentions that the If anyone wants to try messing with the ContentResolver APIs in FileChooserActivity and checking what values they return from different sources, be my guest. Otherwise, I'll plan to reimplement it (in Kotlin) the next time I work on this. |
I think I found a workaround for this issue: Using the official Google files app (which opens automatically) picking an image does work. See https://youtube.com/shorts/SXs-ljfjiMA?feature=share Kind regards |
Device Info
Samsung
Galaxy J7 SM-J700M
Stock, 5.1.1.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: