Alex,

I don't think you need to call addHeader with the content type here.

Other than that, have you tried testing with different network connectivity options? (mobile with different networks, WiFi though different routers).

Finally, you mentioned an HTC HD2 - that's a Windows Mobile phone, are you testing your code with a custom Android build made for that phone? If that's the case and you didn't mean the Desire HD, try a device that has vendor-supplied Android firmware.

-- Kostya

14.02.2011 10:25, alex c пишет:
                        HttpPost post = new HttpPost(uri);
                        post.addHeader(entity.getContentType());
                        post.setEntity(entity);
                        HttpResponse resp = mHttpClient.execute(post);


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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