Code example for UnsupportedEncodingException

Methods: getMessage

0
			entity.addPart("email", new StringBody(getUserName()));
			entity.addPart("password", new StringBody(getPassword()));
			entity.addPart("generator", new StringBody(GENERATOR));
 
		} catch (UnsupportedEncodingException e) {
			Log.e("ttTumblr", e.getMessage());
		} 
		return entity;
	} 
 
	/* 
	 * post options are fields that can be set in the tumblr api: - 
	 * send-to-twitter - private - group - tags - format etc. 
	 */ 
	public MultipartEntity getEntityWithOptions(Bundle options) {
		MultipartEntity entity = getEntityWithBaseParamsSet(false);
		if (options == null) {
			return entity;
		} 
 
		try {