This link should help you
http://hc.apache.org/httpcomponents-client/examples.html
and then check this example source code too
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java

- Sunit
http://sunitkatkar.blogspot.com/ - Android OS Tutorials

On Fri, Oct 31, 2008 at 3:08 AM, baba vali <[EMAIL PROTECTED]> wrote:

> hi friends,
>
>
>
> i am a beginner in android
> i am developing a application on login to web
>
> i have  created an HttpGet object passing  Url to the constructor, and
> passed object to HttpClient.execute which in turn gives HttpResponse.
>
> HttpResponse gives InputStream object, so this as a simple String, i need
> a helper method (preferably a static method in a separate class) to handle
> this for you (.Net gives you a StreamReader.ReadToEnd method…
>
> and also declared permissions to go above and beyond basic operations, so
> add the INTERNET.
>
> but still i am getting the "unknown socket error -1"
>
> could you please he out this
>
> regards
>
> >
>


-- 
- Sunit Katkar

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

Reply via email to