Iam also uses the Android 2.2 SDK. I downloaded the latest Apache HTTP client (httpclient-4.2.1, httpcore-4.2.1, httpmime-4.2.1, apache-mime4j-core-0.7.2) and added the libs files to the build path. Then I was able to check the version that is used:
code:
VersionInfo vi = VersionInfo.loadVersionInfo("org.apache.http.client",getClass().getClassLoader()); String version = vi.getRelease(); Log.d("apache http client version", version);
Output:
apache http client version 4.2.1
Lars source share