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();
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
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
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
4 matches
Mail list logo