activity-result-api Questions

4

Solved

I am trying to use the Activity Result APIs to handle the picking of a single photo for an app I am developing. I am trying to use one of the predefined contracts to keep things simple. So, I am at...

1

Solved

I'm using Activity Result API (with FileProvider) to save image from Camera to app cache folder and then pass it URI to another activity. It works if activity orientation does not change during ope...
Scourings asked 26/9, 2022 at 10:32

1

Solved

I am writing a Kotlin app and using Firebase for authentication. As onActivityResult is now depraceted, I am trying to migrate my app to use registerForActivityResult. I have a link to Google accou...

1

Solved

I am very new to Android Kotlin programming. I am making an app to create, read and delete file using Storage Access Framework. I did it by implementing deprecated startActivityForResult intent to ...

0

Is there any default way to get the request code in ActivityResultContract? I know about StartActivityForResult contract, which returns ActivityResult, but there is no requestCode, only resultCode....
1

© 2022 - 2024 — McMap. All rights reserved.