Whats wrong with this Log.d

What's wrong with Log.d() if I comment it, then no error shows, but with Log.d() values display but also get FATAL EXCEPTION: AsyncTask #1 and app crash. package com.sha.okhttp; import android.os.AsyncTask; import android.os.Bundle; import andr...
more »

2017-05-06 08:05 (1) Answers

Safe and smart http connection disconnect

I have a few questions regarding the advised usage of OkHttp, in matters of connection disconnection and reuse. However the Android documentation on these issues is not so clear. So here they are: Safe multi-thread disconnection: (a) According ...
more »

2017-04-02 10:04 (1) Answers

OkHttp with Certificate Pinning

My Android project (OkHttp 3.3.1) currently works with my HTTPS web service (my PC, IIS web server, Asp.Net Web API, self-signed certificate) Helper methods: private SSLSocketFactory getSSLSocketFactory() throws CertificateException, KeySto...
more »

2016-06-10 08:06 (1) Answers