Last Updated March 19, 2008
 

 


J2ME HTTP GET
by Jason Lam

For GET Http calls all you need to do is indicate a GET is being used:

conn.setRequestMethod(HttpConnection.GET);
conn.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0" );
conn.setRequestProperty("Content-Language", "en-US" );

The url you pass you contains the GET parameters passed to the server.

 

| Home | Tutorials | Tips / Hints | Books | Links |
| Resume | Portfolio | Services | Contact |

The contents of this webpage are copyright © 2003 - 2006
Jason Lam All Rights Reserved