file transfere on j2me

Reply

Join Date: Dec 2004
Posts: 489
Reputation: Acidburn is an unknown quantity at this point 
Solved Threads: 5
Acidburn Acidburn is offline Offline
Posting Pro in Training

file transfere on j2me

 
0
  #1
Jul 2nd, 2009
Hey guys,

I've got a mobile application written which can browse through directories on the handheld device. This links to a C# application on windows via a usb cable (Simple phone cable). now i'm wondering how to go about transfering a file from the device over the serial conection and out again.

Any pointers?
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 53
Reputation: di2daer is an unknown quantity at this point 
Solved Threads: 12
di2daer's Avatar
di2daer di2daer is offline Offline
Junior Poster in Training

Re: file transfere on j2me

 
0
  #2
Jul 2nd, 2009
Please correct me if I am wrong, but I don't think it is possible to send files via the serial connection, but you can use bluetooth or obex for that.
What kind of file do you want to send? If it is a simple text file you can send the each line as a string via the usb and then create the text file on the pc side and fill it with the data from the device. If it is an image you need a decoder, that can be quite tricky, since there is no support for that in j2me, that I know of at least.
---------------------------
333 - halfway to hell
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC