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

@param activity The value of the 'activity' property.

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