I am using the device 3530 and i am inafcg the same problem. My application is not able to communicate with my server. for making Http Connecdtion i use the following properties.conn.setRequestProperty( User-Agent , Profile/MIDP-1.0 Configuration/CLDC-1.0 );conn.setRequestProperty( Content-Language , en-US );conn.setRequestProperty( Content-Type , application/binary );conn.setRequestProperty( Accept , application/binary );conn.setRequestProperty( Connection , close );conn.setRequestMethod(HttpConnection.POST);conn.setRequestProperty( Content-Length , Integer.toString(data.length));but i am not able to access the server to which i am pointing.Thre response code give me the HTTP_BAD_GATEWAY : error code 502. what it means and how it can be solved? can you give me the solution for that.??
LZzWxdaMzpUPhDanilo March 22, 2012 at 2:48 AM
I am using the device 3530 and i am inafcg the same problem. My application is not able to communicate with my server. for making Http Connecdtion i use the following properties.conn.setRequestProperty( User-Agent , Profile/MIDP-1.0 Configuration/CLDC-1.0 );conn.setRequestProperty( Content-Language , en-US );conn.setRequestProperty( Content-Type , application/binary );conn.setRequestProperty( Accept , application/binary );conn.setRequestProperty( Connection , close );conn.setRequestMethod(HttpConnection.POST);conn.setRequestProperty( Content-Length , Integer.toString(data.length));but i am not able to access the server to which i am pointing.Thre response code give me the HTTP_BAD_GATEWAY : error code 502. what it means and how it can be solved? can you give me the solution for that.??
about tutorialjignesh September 6, 2012 at 12:01 AM
best tutorial ever!!!!!!!!!!
Post your Comment