hello
i am a green hand in Android , so careful and prolixity,please
bepatient. If you are happy to give my opinion I will be very
grateful,if you do not mind, I will often ask your advice.thank you.

I wanna develop a application in Android to connet HttpServer.But
there is something must be wrong.so if anyone read it or
haveadvice ,please tell me.I was troubled by this issue.

reqEntity = new StringEntity(sendContent.toString())
reqEntity.setContentType("application/x-www-form-urlencoded");
httppost.setEntity(reqEntity);
HttpResponse response = httpclient.execute(httppost);
HttpEntity entity = response.getEntity();

it does not work , so i try it in debug , always catched IOException
when HttpResponse response = httpclient.execute(httppost);

why?anyone can give a advice ?thank you.

-- 
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