I have a basic question. Can we write to and read from the same file at a time ?
I want to do this for Media Player application. One thread writes to the file and the other thread reads the file to play.
I have seen the demo app custom-media-streaming-with-mediaplayer where they pause playing after a temporary file is read and then set the data source to a new file with a new player. I dont want the pause effect to come (thats obviously required). I am getting a wierd behaviour where only the first chunk of data is being played again and again.