This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple connect and download

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??
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!