How to transfer a string from j2me to java?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blacktiger
    New Member
    • Dec 2010
    • 5

    How to transfer a string from j2me to java?

    hi all, i want to know how to transfer string data from j2me to the java application program on my pc please help me
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    blacktiger,

    You'll need to use a network connection of some sort - or file I/O.

    You need to sketch out what you have to do in a little more detail before we can help you.

    Cheers,
    Oralloy

    Comment

    • blacktiger
      New Member
      • Dec 2010
      • 5

      #3
      i am writing a program in j2me and core java in that i need to pass a string array through bluetooth, i need to know only the technique to use in both j2me program and core java to send and resive a string array, thanks for ur reply

      Comment

      • Oralloy
        Recognized Expert Contributor
        • Jun 2010
        • 988

        #4
        blacktiger,

        I'll assume you can set up communications (which is something I'd appreciate your posting, by the way).

        Try using the java.io.ObjectO utputStream and java.io.ObjectI nputStream classes. They should make the job relatively transparent, assuming you have a stable transport layer.

        Cheers,
        Oralloy

        Comment

        Working...