Re: SSL connection

2013-11-28 Thread Grigoriy A. Polyakov
public GPSSL() { String URLs = https://myserver.doamin.kz;; URL url = new URL(URLs); con = (HttpsURLConnection) url.openConnection(); con.setSSLSocketFactory(getFactory(new File(key/keys.p12), 1234)); Authenticator.setDefault(new MyAuthenticator());

java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE

2013-11-27 Thread Grigoriy A. Polyakov
Good day! I need help! I develop app for android with integration the IIS(SharePoint). And when i run this code(Code 2), i get ERROR java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE I run this code in firstActivity in method onCreate(Code 1) Version httpclient -