aspose file tools*
The moose likes Java Micro Edition and the fly likes j2me application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "j2me application" Watch "j2me application" New topic
Author

j2me application

ankur mawandia
Greenhorn

Joined: Jan 10, 2011
Posts: 12

i am tryig to make a midp 2.0 mobile application that has a form with some text boxes and selection list

and which can store data in online postgres sql server

i have created a form

can some one tell me how can i create a connection

connect to my server

and post a query

i am using netbeans ide

thanks in advance











may the force be with you
Srinath Gamage
Ranch Hand

Joined: Jun 19, 2008
Posts: 40

Study on HttpConnection.
You can do it as following

This shows GET request, similarly you can find out how to do POST.


SCJP & SCMAD
http://srinathbugz.blogspot.com/
 
Consider Paul's rocket mass heater.
 
subject: j2me application