| | |
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 |
-xlint actionlistener android api applet application array arrays automation bi binary blackberry block bluetooth character class client code compile compiler component consumer database desktop developmenthelp eclipse error fractal freeze ftp functiontesting game gameprogramming givemetehcodez graphics gui health html ide image integer j2me j2seprojects java javac javaee javaprojects jetbrains jni jpanel jtable julia learningresources lego linked linux list mac main map method methods mobile myregfun netbeans notdisplaying number online printf problem program project qt recursion researchinmotion rotatetext rsa scanner screen server set singleton sms sort spamblocker sql string swing system textfields threads time title tree tutorial-sample update variablebinding windows working xor





