python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How long can I use the URI from ActivityResultContracts.GetContent() for?
Basically, I'm trying to let users choose pictures from their phone's image gallery to use as background images in my app.
Here is my code:
private val pickImages = registerForActivityResult(Activity...
Lifes
Votes: 0
Answers: 1
Android Open Assets Image File with Intent and FileProvider Shows Size 0
I place all the files in assets folder and use following functions to open them:
fun Fragment.openAssetsFile(fileName: String) {
val file = getAssetsFile(fileName)
val fileUri = FileProvider.g...
Sam Chen
Votes: 0
Answers: 1
Android: Bitmap too large. Nothing working except setting android:hardwareAccelerated to false
I have an Android application where I need to load an image in the imageView. I have tried every recommended solution but the app is still crashing on old Redmi devices. The exception, I'm getting is ...
Himanshu Kansal
Votes: 0
Answers: 0
How to check an image is 360 panoramic or not in Android?
I was working on a project where I have to determine an image is 360 panoramic or not. Is there any way to determine that property from an image?
Ayan Sarkar
Votes: 0
Answers: 0