HttpPostを使用して、%(EX:abc%xyz)を含む文字列をWebサービスに送信する必要があります。
次のロジックを使用しましたが、(%)の代わりにIllegalCharacter例外が発生します。
**updatepeople.php?pilotid=1651&firstname=Nexus&lastname=Google&nickname=abc%xyz**
final int TIMEOUT_MILLISEC = 20000;
HttpParams httpParams = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParams, TIMEOUT_MILLISEC);
HttpConnectionParams.setSoTimeout(httpParams, TIMEOUT_MILLISEC);
HttpConnectionParams.setTcpNoDelay(httpParams, true);
HttpClient httpClient = new DefaultHttpClient(httpParams);
URLEncoder.encode(url, "UTF-8");
HttpPost httpPost = new HttpPost(url);
ResponseHandler<String> resHandler = new BasicResponseHandler();
page = httpClient.execute(httpPost, resHandler);
return page;