| Reply | « Previous Thread | Next Thread » |
|
Hi!
there is a workaround for sending / receiving data through http communication. the phone will always send a get request with an empty body. however if you set your gateway to 0.0.0.0 you can send some informations in the http header like: if(System.getProperty("microedition.platform").startsWith(Nokia7650)) conn.setRequestProperty("Input", request.replace('\n', '')); (the value should not contain new line characters!). the server shound handle the get and post request in the same way. lesliel |
|
it's a String
see the doSend() method from the HttpPoster class from Nokia_MIDP_Example_Apps_v0_9_3.zip |
|
There is no need to write anything in the header you can do both gets and posts. HttpConnection works fine(is fully functional) on the Nokia 7650. Try downloading "Coolaz Comics Nokia 7650 v.1.0.4" from http://www.midletcentral.com under the applications category. Futhermore all applications by this vendor targeted for the 7650 work with HttpConnections both with the old and new firmware.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|