Hi there,

i am building an application which at some point sends a http-get to a
webserver and the webserver responds with a .zip file to download.
The same with a http-post. In a browser after clicking submit (post) or the
link (get)
it asks me where i should download the .zip file.

I want my android app to automatically download the file:
In the case of the post i build a name-value-pair and use execute the built
httppost:

 httppost.setEntity(new UrlEncodedFormEntity(nvp));
 HttpResponse httpresponse = httpclient.execute(httppost);
 HttpEntity entity = httpresponse.getEntity();

How can i download the .zip file with which the webserver responds.

Can someone point me in the right direction, or perhaps give me an example
how to download files in android?

Kind regards,

Robin van Leeuwen

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to