| | |
file transfere on j2me
![]() |
•
•
Join Date: Dec 2004
Posts: 489
Reputation:
Solved Threads: 5
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?
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?
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.
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
333 - halfway to hell
![]() |
Similar Threads
- Write File in J2ME (Java)
- j2me (Java)
- J2ME mp3 player for motorola mobile phone (Java)
- Accessing a file on a pda, from a midlet (Java)
- j2ME help (Java)
- J2me (Java)
- how i can set class path for j2me (Java)
- Looking for sound solution for J2ME. (Java)
- How to send text to a text file using j2me through http connection? (Java)
Other Threads in the Java Forum
- Previous Thread: Multiple threads
- Next Thread: nullPointerException
| Thread Tools | Search this Thread |
addball android applet application apps array automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) button card class classes client code collision columns component constructor crashcourse css database designadrawingapplicationusingjavajslider draw eclipse ee error eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image integration intellij j2me java javaarraylist javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia jvm linux loan loop method migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle phone physics plazmic print problem program programming project radio scanner server service set sharepoint smart sms smsspam software sql subclass support swing textfield threads tree trolltech unlimited utility windows





