Code example for FragmentActivity

Methods: onActivityResult

     * @param resultCode a request is succeeded, canceled, or some other result. 
     * @param data an intent that includes some result data. 
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        Log.v(TAG, "onActivityResult");
     * {@link Activity} を破棄する前に、一時保存しておくべき情報を {@link Bundle} オブジェクトに保存します。 
     * 復帰するときは、{@link Activity#onRestoreInstanceState(Bundle)} か、あるいは {@link Activity#onCreate(Bundle)} 
     * の {@link Bundle} からも復帰することができます。 
     * To save temporary states of this {@link Activity}, 
     * put them into a {@link Bundle} object. 
     * You can restore this state at {@link Activity#onCreate(Bundle)}, or 
     * {@link Activity#onRestoreInstanceState(Bundle)}. 
     * Both methods accept {@link Bundle} object argument and it contains the state.