Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What version of Apache HTTP Client is bundled in Android 1.6?

I want to have a seperate project that runs my server communication code in a normal JVM for the purposes of integration testing. This code uses these libraries which are build into the Android Framework...

http://developer.android.com/reference/org/apache/http/client/package-summary.html

Does anybody know what version of Apache HTTP Client this is supposed to be? I want to run it without the Android tests which are painfully slow.

like image 314
benstpierre Avatar asked Apr 11 '10 20:04

benstpierre


2 Answers

The copy of HttpClient in Android does not actually match any of the released versions, as this mailing list trail shows. Google seem to have taken an arbitrary snapshot of the development code base and used that.

The closest matches seem to be:

  • httpcore-4.0-beta2.jar
  • httpclient-4.0-beta1.jar

Seems like a colossal cock-up to me.

like image 172
skaffman Avatar answered Oct 14 '22 15:10

skaffman


4.x. I'm not sure on the minor version code, but the latest versions of httpmime and apache-mime4j work when included in my code alongside the HttpClient included in Android 1.5.

like image 37
synic Avatar answered Oct 14 '22 16:10

synic