[android-developers] Re: HttpClient Connection Issue

2008-10-12 Thread Badri Narayanan Sugavanam
Sure.Keep in mind using a ByteBuffer may not be efficient way of doing it. Below is the fixed line of code : DefaultHttpClient httpclient = new DefaultHttpClient(); HttpGet httpGET= new HttpGet(this.URL); HttpResponse res=httpclient.execute(httpGET); HttpEntity entity=res.getEntity();

[android-developers] Re: HttpClient Connection Issue

2008-10-11 Thread Badri Narayanan Sugavanam
Hi Bill , Yeah.you were correct.I was not creating HttpGet request.Now solved. Thanks -Badri. On Sat, Oct 11, 2008 at 4:51 AM, Bill Zimmerly [EMAIL PROTECTED]wrote: Badri, Can you see what the server is getting from Android? Is the service a HTTP web server? (It would seem so since

[android-developers] Re: HttpClient Connection Issue

2008-10-11 Thread Bill Zimmerly
Thanks for the reply, Badri. :) If you wouldn't mind, can you post the fixed code so that others can learn from your example? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: HttpClient Connection Issue

2008-10-10 Thread Bill Zimmerly
Badri, Can you see what the server is getting from Android? Is the service a HTTP web server? (It would seem so since you're using the HTTP default port 80.) If it is, your code snippet doesn't look to me like it is formatting a proper GET request to send to the server. - Bill