missing org.apache.commons.httpclient in ver 9

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

missing org.apache.commons.httpclient in ver 9

Postby anurahim » Thu Sep 25, 2008 6:59 am

Hi all,
I was trying to connect an https url thru android and to submit an XML file over the https connection. IN the ver5 i could find the packge org.apache.commons.httpclient and I was able to connect. Now I changed my SDK to ver 9 , there I couldn't find the package "org.apache.commons.httpclient" and is not listed in the removed packages in "http://code.google.com/android/migrating/m5-0.9/changes.html" .

So where in went wrong? is it cos of any problem in my installation of new version??


is there any alternatives for the missing class???





thank and regards
anur
anurahim
Junior Developer
Junior Developer
 
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am

Top

Postby cgreen » Thu Sep 25, 2008 9:54 am

Apache has moved the HttpClient v3.x package to an other apache project: HttpComponents as HttpClient v4.0.
so, this httpclient package is still there, but it's differs from, what i'm used to.

if you manage to migration to the newer version of httpclient, i would be very grateful for a short excerpt of the changes, i'll have to make.
:D
localhost is the android emulator
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Postby anurahim » Thu Sep 25, 2008 12:00 pm

I didn't get u .. we have another HttpClient Class in org.apache.http.client. But this was already in the previous version.
anur
anurahim
Junior Developer
Junior Developer
 
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am

Postby cgreen » Thu Sep 25, 2008 2:12 pm

thats the new package. apache has migrated this common httpclient to this new project and package. but there has been some changes in the code,too.
localhost is the android emulator
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests