Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple connect and download  RSS feed

 
Ryan Greenwood
Greenhorn
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) Connector.open( uri, Connector.READ );
InputStream in = conn.openInputStream();

...use the stream??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!