Top "Onactivityresult" questions

Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.

Android: how to make an activity return results to the activity which calls it?

I have a Location activity that can be called from many activities, such as Sign up and Order. In the …

android android-activity onactivityresult
Android : When do we use getIntent()?

I dont' understand why we use method getIntent(). Because, when we need that method, We can use method onActivityResult(). But …

android android-intent onactivityresult
Wrong requestCode in onActivityResult

I'm starting a new Activity from my Fragment with startActivityForResult(intent, 1); and want to handle the result in the Fragment's …

android android-fragments onactivityresult
onActivityResult() not called

onActivityResult() is not getting called. Below is my code: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Check …

android android-fragments onactivityresult
How can I call OnActivityResult inside Fragment and how it work?

I want to know is it possible on onActivityResult()to use inside Fragment and if yes then how it works …

android android-intent fragment onactivityresult
How to use onActivityResult method from other than Activity class

I am creating an app where i need to find current location of user . So here I would like to …

android android-activity onactivityresult
onActivityResult not call in the Fragment

The structure of the app is like this: tabHost (in Activity) -> contains -> TabFragment(extend base container …

android android-activity android-fragments android-tabhost onactivityresult
OnActivityResult method is deprecated, what is the alternative?

Recently I faced the onActivityResult is deprecated. What should we do to handle it? Any alternative introduced for that?

android android-fragments android-activity onactivityresult
resultCode is always 0 and request is always -1, . Activity.onActivityResult();

I would like to add this to another list of questions about resultCode == 0 and requestCode == 0. Here is the synopsis: NoteActivity …

android onactivityresult start-activity
super.onActivityResult inside adapter class? Android

I have RecyclerView with very complex item, multiple buttons/images/texts. To access each button/image I set my click …

android onactivityresult