I\'m new to implementing HTTPS connections in Android. Essentially, I\'m trying to connect to a server using the org.apache.http.client.HttpClient. I believe, at some poin
This should get you started. I'm using basically the same, except with ThreadSafeClientConnManager
.
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(new Scheme("https",
SSLSocketFactory.getSocketFactory(), 443));
HttpParams params = new BasicHttpParams();
SingleClientConnManager mgr = new SingleClientConnManager(params, schemeRegistry);
HttpClient client = new DefaultHttpClient(mgr, params);