×

Discussion Board

Results 1 to 1 of 1

Thread: Fileconnection

  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    170

    Fileconnection

    Hi,
    everytime I try to craete a new File the SDK tells my, that the Filesystem I try to access is not mounted. What am I doing wrong?
    It would be greate if somebody could tell me where the failure in my code is.
    FileConnection saveData =(FileConnection)Connector.open(URL+"fileconn.dir.memorycard/"+"fileName"+".txt",Connector.WRITE);
    saveData.setFileConnection("file:///fileconn.dir.memorycard");
    if(saveData.exists())
    {
    saveData.close();
    }
    else
    {
    saveData.create();

    saveData.close();
    }


    Do I need any permission for MMC access? How do I get them from the System?
    Thank you
    Last edited by lpinguin; 2005-05-10 at 19:25.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×