1,539 questions
0 votes
0 answers
79 views
Taken image not showing in Gallery
My images are not shown in gallery and are not editable (draw something onto it) if I open them from Android file explorer. The wired thing (at least for me) is when I change the name of the file in ...
2 votes
1 answer
173 views
Why for the same image "Glide" is working correctly, but "coil" is giving error?
I tried use "Coil" for the image processing/loading but it is not loading the image and also it is giving error. Then I tried using "Glide" for my same image, and it is working ...
3 votes
2 answers
203 views
Showing a media picker with only the media the user gave permission to
I would like to show a media picker to the user with the corresponding media that the user has given permission for. I show the permission dialog, where the user can select which images/videos they ...
0 votes
0 answers
48 views
Localized icon in android
I am trying to implement the following functionality: when the devices language is Polish, one icon is used, with any other language - another. I have mipmap folders created for different screen ...
0 votes
1 answer
224 views
How to show an entire image for a launcher icon in Android
I have the following png file house.png in the drawable folder of my Android app I would like to use it as a launcher icon and thus I use it in this XML layout file: <?xml version="1.0" ...
0 votes
1 answer
1k views
Remote images not loading in production generated with Expo for Android
I'm developing an application with Expo for Android, using various APIs, including Google Books to retrieve book images from its database. Everything works correctly in the development environment; ...
5 votes
0 answers
972 views
Jetpack Compose displaying Adaptive Icon Painter Resources: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG, WEBP
I'm trying to display launcher icon of the app: Image( modifier = Modifier.size(24.dp), painter = adaptiveIconPainterResource(id = R.mipmap.ic_launcher_round), contentDescription = ...
1 vote
1 answer
101 views
I can't get a photo from local in my Android Studio project. (GlideException: Failed to load resource)
I'm using glide in my android project. And images doesn't loading. I get "class com.bumptech.glide.load.engine.GlideException: Failed to load resource" error. And a photo url from the ...
0 votes
1 answer
62 views
How to check at runtime if an imageview came from a local or remote resource?
If I'm running as a third party library within an android application, and I want to check whether the imageviews on screen were loaded from locally bundled resources or were loaded from a remote uri -...
0 votes
1 answer
141 views
How does Android's ImageWriter work under the hood?
I have a custom Camera2 OpenGL pipeline to process frames from a Camera device. I have two target EGLSurfaces that I just send the EXTERNAL_OES OpenGL texture to using a pass-through Shader. This is ...
0 votes
1 answer
248 views
Android: Custom NDK/C++ android.media.Image implementation backed by OpenGL texture/HardwareBuffer
I'm working on a Camera2 app where I have a custom OpenGL pipeline set up for processing video frames. In my pipeline, I use a couple of different third party frame-processing APIs that expect an ...
2 votes
2 answers
847 views
Taking photos on Android with Blazor Webassembly "Out Of Memory" Exception
I am new to Blazor Webassembly. I am trying to take a simple photo on my Android device (Samsung Galaxy Tab S7 FE). Here is the code <div> <InputFile OnChange="@OnFileSelection" ...
1 vote
1 answer
755 views
Handling java.lang.OutOfMemoryError with Image Loading in Android Compose using painterResource
I am encountering a recurring issue while working with the "Image" component in Android Compose. I am using the painterResource function to load images into the "Image" component. ...
1 vote
1 answer
91 views
Is it possible to synchronize the content draw by OpenGL and the position of a View in Android?
There are 2 views in a FrameLayout: SurfaceView View The content of SurfaceView is drawn using OpenGL in another thread: Send the Surface of SurfaceView from java to c++ Create ANativeWindow: ...
1 vote
2 answers
2k views
Displaying .avif images on versions lower than android 12
Im wondering whether there is a library or a way to display .avif images on android versions lower than 12, since avif is supported from android 12+. I tried using Glide and Picasso, but it just ...