public static String getFullUrl(String url, Map<String ,String>data)
			throws UnsupportedEncodingException {
		if (data != null && data.size() > 0) {
			if (url.indexOf('?') != -1) {
				url += "&";
			} else {
				url += "?";
			}
			int size = data.size();
			int i = 0;
			String paramStr = "";
			for (Map.Entry<String, String> entry : data.entrySet()) {

				paramStr += entry.getKey() + '='
						+ URLEncoder.encode(entry.getValue(), "UTF-8");
				if (i != size - 1) {
					paramStr += "&";
				}
				i++;
			}
			url += paramStr;
		}
		return url;
	}