Hello Friends,
I made an application for J2ME phones...
which is using GPRS. or WIfI
on wifi my application work properly But on GPRS its not working properly ...
I tried on 5 to 6 handset & change service provider also ,,,
But still getting this is not working............
i'm using below code.
//////*************//
HttpConnection HTTP_CON = (HttpConnection) Connector.open(URL,Connector.READ_WRITE,false);
System.out.println("Link: " + HTTP_CON.getURL());
HTTP_CON.setRequestProperty("User-Agent", "Profile/MIDP-2.0, Configuration/CLDC-1.0");
HTTP_CON.setRequestProperty("Content-Language", "en-US");
HTTP_CON.setRequestMethod(HttpConnection.POST);
DataOutputStream DATA_OUTPUT = HTTP_CON.openDataOutputStream();
DATA_OUTPUT.flush();
DATA_OUTPUT.close();
DataInputStream DATA_INPUT = HTTP_CON.openDataInputStream();
...................
I've php server for Request & response.....
please help me for this problem............

Reply With Quote

