Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Http Server and J2ME Client

 
Prateek Sharma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I developed a mobile application which takes a user id from user as input. Now I want, when User press key '1' it should send a request on http server like "http://example.com/home.html?userid=123456"

The important thing is that, This request should be fire from the mobile phone browser.(My application immediately stops when user clicks on Information button)

Thanks and Regards,
Prateek

 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not easy to connect J2ME and the web browser in mobile devices. There's too much variance, and as far as I know, there's no JSR to support it.

A bigger problem, however, is that if you steal a text input key to serve as a control key, how are people supposed so enter a "1" as data for any other web site or URL?
 
Sukitha R Udugamasooriya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prateek Sharma,

Try to start a new Thread when you execute the command to send your request.

all the best
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic