I have an app that submits some from data to a local server and as a result the server will send back a JSON. say {status:\"success\"}
Its working when I run the ap
It looks like the accept header of your requests states text/html instead of application/json. Change it.
The Galaxy Tab must be sending different headers to the emulator. Try disabling the expectation header on your HttpPost object.
httppost.getParams().setBooleanParameter( "http.protocol.expect-continue", false )
Also see expectation failed in android during photo upload