1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

writing to and reading from a file simultaneous


Last Updated:

  1. eyalm_nm

    eyalm_nm Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    11
    Likes Received:
    0
    Hi,
    I'm trying to read from a file while it still opened for witing.
    How it can be done?
    Thanks,
    Eyal.
     

    Advertisement
  2. sitlet

    sitlet Banned

    Joined:
    Apr 11, 2010
    Messages:
    5,867
    Likes Received:
    633
    It cant with a micro sd card. It only goes one way at a time.

    And you need to explain yourself more. What exactly are you trying to do? Is the phone connected to the PC or are you trying to do this on the phone? Why do you need to read and write at the same time?
     
  3. jgreetham

    jgreetham Well-Known Member

    Joined:
    May 3, 2010
    Messages:
    203
    Likes Received:
    19
    There are some PC & Unix applications I know of which will grab a snapshot of a file that is already open for editing. M$ Office applications do this. Don't know about Android.

    I have only ever heard of one application - Intergraph - which allowed multiple users access to the exactly same file. One user would see changes immediately as they were made by another. I think most system designers now see that as a bad approach.

    Some applications like Textpad keep a watch on the original file and will notify you if it has changed and give the option to update your local copy.

    Cheers,
    Jim
     

Share This Page

Loading...