Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple connect and download  RSS feed

Ryan Greenwood
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would I achieve a connection to a pc via serial stream from midp app and then download some resource to the handheld?

Would it be something like

try {
platformRequest("tel:12345678");//do I need to do this and/or is there any other work to be done here?
String uri = "file :/pics/pic.png";//windows
InputConnection conn = (InputConnection) uri, Connector.READ );
InputStream in = conn.openInputStream();

...use the stream??
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
Thoughts on deprecation in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!