1 startActivityForResult
When you want to write a lot of input and user input required more space applications, and applications to support mobile phones and flat-panel display devices, using onActivityResult (...) method returns the data to the target fragment is more convenient.
2 show
Screen space tablet device is relatively large, suitable for a pop-up dialog box displayed information and accept user input. In this case, you should set the target fragment and fragment of the dialog box invoked show () method. After the dialog is canceled, the dialog fragment calls onActivityResult target fragment of (...) method