Why aren’t photo editors accepting URIs from the photo picker?
I want to request a photo from the user using the system photo picker (i.e. with a PickVisualMedia
request), then send another Intent for a photo editor to crop the photo. If I just send the URI received from the photo picker with the intent, Google Photos shows “Error, could not load media” and quits. Other photo editors I have either show a similar warning or just crash.
Crash when using androidx.window on OnePlus and Oppo devices
I added this code to my books app to recognize foldable devices (deleted unrelevant code).
On OnePlus and Oppo devices (not foldable) the app crashes.
It happens only in Android OS bigger than 13.
Does androidx.appcompat.app.AppCompatActivity work in Android Studio Jellyfish | 2023.3.1?
I am using the latest Android studio build (of 2023.3.1.) I’m trying to include the following package:
generated base64 string is corrupt
I am using CameraX to take photos and want their base64 value. And for that, I want a JPEG base64 string but when I went to view it, it is corrupt and can only be viewed/decoded back to image after I repair it in some online service. Not sure what I am doing wrong: