Currently I am working on a project, on which I need to GET/PUT data from a web server with basic authentication on Android.
I followed the instructions of http://loopj.com/android-async-http/ but I encountered
"Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."`
The method on the website above is to make use of HttpClient which is deprecated now. I know there is HttpURLConnection, but I cannot find a suitable tutorial for my purpose.
 
     
     
    