J2ME-File Connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rpradeepa
    New Member
    • Apr 2008
    • 23

    J2ME-File Connection

    I am using MIDlet code to connect to a notepad using FileConnection. i have stored the notepad Custmertxt.txt in CFCard folder. i am able to read this txt file from emulator. but when i installed it to the mobile i got the error saying

    javax.microedit ion.io.Connecti onNotFound Exception: Only absolute file URL's of type <drive>:<path > are supported.

    plz help me. thankx in advance.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Nobody answered yet so here's my guess: the text of the exception says it all:
    the URL you're passing around has the wrong format. Your CLDC JME configuration
    can only handle absolute URLs of the form <drive>:<path > so you have to check
    there.

    kind regards,

    Jos

    Comment

    Working...