• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send data from my PC to the phone ?

 
Delmiro Costa
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already develop a servlet to receive through an URL some information registered in my MIDLet, now It is possible that the phone takes data from my pc and then store in its local RMS ?
Do you have any ideas of how to do it ?
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm.

Well, to answer the first question, it's certainly possible, yes. (I've done it in another application, though in the context of a server-client connection.)

One approach (to answer the second question): What you're going to want to do is send the information to the server, and have it respond, with your MIDLet understanding how to parse the stream that's coming back from the server. I can probably dig up some code, depending on what you're looking for, to demonstrate how you might get that to work with a servlet, though I can also highly recommend the Beginning J2ME book that's out from APress.

Storing in RMS is the easy part, admittedly - I suspect you've already figured out that much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic