title: How to know when MediaRecorder has finished writing data to file
body: <p>We're using MediaRecorder to record video to a file on the external storage using setOutputFile() before doing the actual recording.</p>
  
  <p>Everything works fine, but the main issue is that as soon as the recording is done, we want to start playing the recorded video back in a VideoView. </p>
  
  <p>How to know when the file is ready to be read and played back?</p>