src/org/ohmage/domain/campaign/prompt/RemoteActivityPrompt.java
private boolean validatePackage(final String packagee) {
		if(packagee == null) {
			return false;
		}
		else if(! packagee.contains(".")) {
			return false;
		}
		else if(packagee.startsWith(".")) {
			return false;
		}
		else if(packagee.endsWith(".")) {
			return false;
		}
		
		return true;
	}
/**
	 * Unfortunately, there are few restrictions on Android's Package names.
	 * 
	 * @param packagee The value of the 'package' property.
	 * 
	 * @return True if the value is valid; false, otherwise.
	 */
Unfortunately, there are few restrictions on Android's Package names.

@param packagee The value of the 'package' property.

@return True if the value is valid; false, otherwise.
Unfortunately there are few restrictions on Android ' s Package names . @param packagee The value of the ' package ' property . @return True if the value is valid ; false otherwise .
private boolean validatePackage(final String packagee) {
		if(packagee == null) {
			return false;
		}
		else if(! packagee.contains(".")) {
			return false;
		}
		else if(packagee.startsWith(".")) {
			return false;
		}
		else if(packagee.endsWith(".")) {
			return false;
		}
		return true;
	}
private boolean validatePackage ( final String packagee ) { if ( packagee == null ) { return false ; } else if ( ! packagee . contains ( "." ) ) { return false ; } else if ( packagee . startsWith ( "." ) ) { return false ; } else if ( packagee . endsWith ( "." ) ) { return false ; } return true ; }
Unfortunately, there are few restrictions on Android's Package names.
Unfortunately there are few restrictions on Android ' s Package names .