This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j2me application
 
Similar Threads
filters in Apache HTTP server
9i + 10g integration
Installing the Data base, Application server, IDE together
Jasper Report with JSP; disconnect from server when close jasper report
Installing the Data base, Application server, IDE together