question: @ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { if ( requestCode == GET_CODE ) { Editable text = ( Editable ) mResults . getText ( ) ; if ( resultCode == RESULT_CANCELED ) { text . append ( "(cancelled)" ) ; } else { text . append ( "(okay " ) ; text . append ( Integer . toString ( resultCode ) ) ; text . append ( ") " ) ; if ( data != null ) { text . append ( data . getAction ( ) ) ; } } text . append ( "\n" ) ; } }
target:  This method is called when the sending activity has finished, with the result it supplied.