how is the header of httppost. is it correct?

On Dec 11, 3:29 am, LeeMoon <[email protected]> wrote:
> hi
> is there someone troubled the same  issue,please try to help me . i am
> waiting for you , thanks
>
> the code in run();//a thread class
>         reqEntity = new StringEntity(sendContent.toString());
>                         
> reqEntity.setContentType("application/x-www-form-urlencoded");
>                         httppost.setEntity(reqEntity);
>                         HttpResponse response = httpclient.execute(httppost);
>                         HttpEntity entity = response.getEntity();
>                         if(entity != null) {
>                                 return entity.getContent();
>                         }

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