http://www.newtondev.com/2010/07/27/mak ... e-android/
There is one mistake though, in this section here:
Using java Syntax Highlighting
- private static HttpClient getHttpClient() {
- if (mHttpClient == null) {
- mHttpClient = new DefaultHttpClient();
- final HttpParams params = client.getParams();
- HttpConnectionParams.setConnectionTimeout(params, HTTP_TIMEOUT);
- HttpConnectionParams.setSoTimeout(params, HTTP_TIMEOUT);
- ConnManagerParams.setTimeout(params, HTTP_TIMEOUT);
- }
- return mHttpClient;
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
You have to add this line:

