Hi I am using DefaultHTTPClient class to create http request.
The currrent code execute() method works on all phones including Nexus and Samsung with Android 6.0.
<
Ran into something similar and had a fix I'm trying that I added to another question
I ran into a similar issue today and just started using HttpClient for Android
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
to build.gradle.new DefaultHttpClient()
with HttpClientBuilder.create().build()
There are probably some other minor refactors you might need to make in other portions of the code, but that should be pretty straight forward.