python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How To Send Intent Back using ActivityLauncher API?
I've been using this method to try to send data between Activities, but Google don't show you how to send the data back from the other Activity. So I started looking for other methods that might work,...

Skello
Votes: 0
Answers: 1
ActivityResultContract to pick/take a photo in Kotlin
How can i use ActivityResultContract (Kotlin) in order to pick a photo from the gallery OR to take a photo by the camera using only one button?
jawad
Votes: 0
Answers: 1
How to upload Image to Server from camera Using new Activity Contracts APIs?
I am trying to upload Image to server using Camera Image with new Activity Contracts Method but getting exception like : No such file or directory for my selected Path.
Here is What I had done so far:...

Harsh Patel -OpenXcell
Votes: 0
Answers: 1
How to limit ActivityResultContract.GetContent to media (image or video)
Is there a way to make ActivityResultContract.GetContent filter only media files?
private val selectMediaResultLauncher = registerForActivityResult(ActivityResultContracts.GetContent()) { uri: Uri...

Udi Oshi
Votes: 0
Answers: 1