Top "Startactivityforresult" questions

Questions about starting Activities in Android and in return receive a result from the started activity when it finished.

How to manage startActivityForResult on Android?

In my activity, I'm calling a second activity from the main activity by startActivityForResult. In my second activity, there are …

android android-intent android-activity startactivityforresult
Using startActivityForResult, how to get requestCode in child activity?

I have four activities, say A, B, C and D. My situation is A will start the activity B by …

android android-intent android-activity startactivityforresult
Check If Activity Has Been Called for Result

Is it possible to know if some activity has been called for result, using startActivityForResult() or if was only started …

android android-activity startactivityforresult
Fatal Exception: java.lang.RuntimeException: Failure from system

I am getting this exception on crashlytics report frequently don't know why ? Fatal Exception: java.lang.RuntimeException: Failure from system …

android android-intent startactivityforresult
Android: requestCode and resultCode

I'm wondering if I am understanding the concepts of requestCode and resultCode properly? Basically, I have an arbitrary integer (the …

android startactivityforresult
Android: setResult not returning result to Parent Activity

I have started a child activity from parent activity using startActivityForResult. After performing required functions in child activity I am …

android android-intent android-activity onactivityresult startactivityforresult
startActivity and startSubActivity

Can anyone tell me the difference between startActivity and startActivityForResult? Is startActivity used to call Activity asynchronously and startActivityForResult for …

android start-activity startactivityforresult