In my Jetpack Compose project I have two activities: ActivityA and ActivityB. I can pass data from ActivityA to ActivityB easily, as follows: and: ...
In my Jetpack Compose project I have two activities: ActivityA and ActivityB. I can pass data from ActivityA to ActivityB easily, as follows: and: ...
I'm using startActivityForResult function in my voice search method but unfortunately it's now deprecated, can someone help met to get a solution for ...
This is my code I want to use onActivityResult in bold line because StartActivityFOrResult is deprecated ,Can anyone help me how to write this I'm ...
currently i have an application that is called from an external application The flow is as followed: External -> A -> B -> C -> External ...
how to replace it with ActivityResultLauncher. sorry guys i am just new to coding and programming. ...
I have a dialog in my fragment there is a ImageView in the dialog, I want to click on image and pick a image from gallery but this code doesn't work i ...
I have a flutter app for where I need to open another mobile application. The existing libraries in flutter have not been helpful because they are eit ...
I try to take the picture Uri in the onActivityResult() and i'm get resultCode == 0 only on Android 12. on all the other devices I tested it works fin ...
How would I change from startActivityForResult to registerForActivityResult for this Bluetooth activity? Please help me as I am new to java and Androi ...
I have 2 applications, APP1 will start a transaction and will send some data to APP2 then APP2 will return to APP1 with updated data then APP1 will co ...
I want to select image from phone gallery but when i click on image the app returns to main activity without updating image. currently i created the c ...
Hi all I'm new to android development(I'm using Kotlin) and startActivityForResult is deprecated trying to make one simple app To make it simple : I ...
I modified my code so that it works with On activity result however I have an error which I cannot correct on the line profileImageView.setImageURI (I ...
I'm upgrading the app to target android 12, before its targeting android 10. So, now I'm using MANAGE_EXTERNAL_STORAGE with registerForActivityResult ...
I am using android 11 to develop an app. In my app, I need to install other app programmatically and I need to turn on the Install unknown apps. So I ...
I was using the below code to create a file on external storage Since startActivityForResult is deprecated I am using ActivityResultContracts.Creat ...
I use registerForActivityResult just like : But it do not work and throw an exception here : How can I use the registerForActivityResult to acco ...
I have a scenario where Activity A --> A start Activity B for result -> B start activity C for result and B is finished --> Activity C finis ...
It seems like it's not properly supported as I need to implement JNI stuff when I try to implement IActivityResultCallback interface. Also ActivityRes ...
This works perfectly fine i can click image from my camera and update my image view with it but i don't know how this method is working. what things a ...