Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2me application

 
ankur mawandia
Greenhorn
Posts: 12
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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










 
Srinath Gamage
Ranch Hand
Posts: 40
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Study on HttpConnection.
You can do it as following

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

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic