×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Multiple access to file on file system

    Hi, i am trying to write a file using FC on one thread and read the same from other. Well till one connection is open, it gives error for accessing from other on both S40 and S60 phone. I have also tried setting isReadable(true) for file connection but is not working. On S60 it give error with code -14 which is a symbian error and defined as KErrBusy.
    since reading writing to same file at an instance should not be problem, i dont know why this problem coming and what will be the solution. it would be my pleasure if any one can put some light over this.

    Prakash

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

    Re: Multiple access to file on file system

    A possible workaround: you could try using Connector.READ_WRITE mode, and use the same FileConnection instance in both your threads to read and write the same file.

    Pit

  3. #3
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: Multiple access to file on file system

    hi jappit, thanx for ur reply but i think this wont work in my case as both the threads are in differnt component of app, and cant share the members between these two.
    Prakash

Similar Threads

  1. File system fails on real device!!
    By symbee in forum Symbian User Interface
    Replies: 20
    Last Post: 2006-11-14, 06:37
  2. file system access
    By yosrime in forum Mobile Java General
    Replies: 3
    Last Post: 2006-10-17, 01:44
  3. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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