1. Check out our app, Forums for Android! Download and leave feedback here!

writing to and reading from a file simultaneous

Discussion in 'Android Apps & Games' started by eyalm_nm, Oct 27, 2010.

  1. eyalm_nm

    eyalm_nm Member
    Thread Starter
    15

    Feb 5, 2010
    11
    0
    15
    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

    213

    Apr 11, 2010
    5,867
    633
    213
    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
    58

    May 3, 2010
    202
    19
    58
    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...