1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
private void getBaseString () throws UnsupportedEncodingException {
		String perfix,suffix;
		
		perfix = oauth_request_method + "&" +
				URLEncoder.encode(PLURK_REQUEST_URL,"utf-8") + "&";
		
		suffix = "oauth_consumer_key=" + app_key + "&oauth_nonce=" + oauth_nonce +
				"&oauth_signature_method=" + oauth_signature_method +
				"&oauth_timestamp=" + oauth_timestamp + "&oauth_version=" + oauth_version;
		suffix = URLEncoder.encode(suffix,"utf-8");
				
		base_string = perfix + suffix;
		Log.d("base_string",base_string);
	}