×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    21

    FileConnection Access denied

    Hello all ,
    I am developing a J2EM application in which i am using FileConncetion API, when i am trying to run it on Nokia 6131 it was giving me error saying : Access denied.
    So plz help me to solve this error. I am not able to solve it
    Thanks in advance.

    My Code :
    Code:
    try {
    FileConnection fc =(FileConnection)Connector.open("file:///C:/Photos/zeph1.txt",Connector.READ_WRITE);
    fc.create();
    screenSearch.append("Fichier Crée", null);
    screenSearch.append("Existance :" + fc.exists(), null);
    fc.close();
    } catch (Exception e2) {
    screenSearch.append("Exception de Fichier Crée "+e2.getMessage(), null);
    }

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: FileConnection Access denied

    Hi belzi,

    on S40 devices, you can access only predefined public folders. To get the complete paths of these folders, you can use the System properties defined here:

    http://www.forum.nokia.com/document/...79F5BE26E.html
    (the second table is for S40 devices)

    Pit

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    21

    Re: FileConnection Access denied

    HI jappit,

    I tried your solution and it works, for the Nokia 6131 Specifications, you can visit http://mobilezoo.biz/homepagemobile.php?uploadid=502

Similar Threads

  1. Denied access to C memory
    By jmv_ in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2007-10-09, 13:24
  2. access denied new memory card
    By mike230632 in forum General Development Questions
    Replies: 1
    Last Post: 2007-10-08, 16:33
  3. N70 Access Point Selection
    By ravey72 in forum Mobile Java General
    Replies: 2
    Last Post: 2006-09-22, 20:12
  4. Java FileConnection Optional Package 1.0 (JSR 75)
    By thecrowi in forum Mobile Java General
    Replies: 0
    Last Post: 2004-09-24, 08:29
  5. Access Denied Error and a DBMS 2 Panic
    By kiranpuranik in forum Symbian
    Replies: 0
    Last Post: 2004-05-13, 11:18

Posting Permissions

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