I\'m starting a new Activity from my Fragment with
startActivityForResult(intent, 1);
and want to handle the result in the Fragment\'s pare
If you are providing constant make it public and then use in startActivityResult
startActivityResult
example:
public static final int REQUEST_CODE =1; getActivity().startActivityForresult(intent, REQUEST_CODE);