src/jpm/dg/TextRetrieveScreen.java
/**
		 * Retrieves text and decrypts it (if needed).
		 * 
		 * @param key
		 *            The text password.
		 * @return The secret message to be displayed to the user.
		 */
Retrieves text and decrypts it (if needed).

@param key
The text password.
@return The secret message to be displayed to the user.
Retrieves text and decrypts it ( if needed ) . @param key The text password . @return The secret message to be displayed to the user .
private String decodeImage(String key) {
			int[] pixels = null;
			try {
				pixels = new int[bitmap.getWidth() * bitmap.getHeight()];
				bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0,
						bitmap.getWidth(), bitmap.getHeight());
				publishProgress("Collecting data...");
				return ""
						+ decodeMessage(pixels, key, HidingActivity.IS_RANDOM);
			} catch (Throwable e) {
				pixels = null;
				return null;
			}
		}
private String decodeImage ( String key ) { int [ ] pixels = null ; try { pixels = new int [ bitmap . getWidth ( ) * bitmap . getHeight ( ) ] ; bitmap . getPixels ( pixels , 0 , bitmap . getWidth ( ) , 0 , 0 , bitmap . getWidth ( ) , bitmap . getHeight ( ) ) ; publishProgress ( "Collecting data..." ) ; return "" + decodeMessage ( pixels , key , HidingActivity . IS_RANDOM ) ; } catch ( Throwable e ) { pixels = null ; return null ; } }
Retrieves text and decrypts it (if needed).
Retrieves text and decrypts it ( if needed ) .