| | |
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 |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle plazmic print problem program programming project radio recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree unlimited utility webservices windows





