Android: How to calling Sub-Activities for result data?

Android: How to calling Sub-Activities for result data?



A. Use the startActivityForResult() method to start Activity, called a Sub-Activity.
B. In the Sub-Activity class, call setResult(), finish() methods to return the result to the Parent Activity
C. In the parent activity, the returned data is done by protected void onActivityResult
D. All of above
E. None of above


Answer: E


Learn More :