src/jpm/dg/ImageHideScreen.java
/**
	 * Manages data returned from camera or gallery sources.
	 */
Manages data returned from camera or gallery sources.
Manages data returned from camera or gallery sources .
@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {
		if (resultCode == Activity.RESULT_OK) {
			if (requestCode == HOST || requestCode == (HOST + CAMERA_OFFSET)) {
				hostFromCamera = (requestCode >= CAMERA_OFFSET);
				requestCode = HOST;
			} else {
				secretFromCamera = (requestCode >= CAMERA_OFFSET);
				requestCode = SECRET;
			}
			loadImage(data.getData(), requestCode);
		}
	}
@ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { if ( resultCode == Activity . RESULT_OK ) { if ( requestCode == HOST || requestCode == ( HOST + CAMERA_OFFSET ) ) { hostFromCamera = ( requestCode >= CAMERA_OFFSET ) ; requestCode = HOST ; } else { secretFromCamera = ( requestCode >= CAMERA_OFFSET ) ; requestCode = SECRET ; } loadImage ( data . getData ( ) , requestCode ) ; } }
Manages data returned from camera or gallery sources.
Manages data returned from camera or gallery sources .