title: File operations in android Q beta
body: <p>1)Target set to <code>Android Q</code> with <code>android.permission.WRITE_EXTERNAL_STORAGE</code></p>
  
  <p>2) use <code>getExternalStorageDirectory</code>or <code>getExternalStoragePublicDirectory</code>and <code>FileOutputStream(file)</code>saving file throws </p>
  
  <p><code>java.io.FileNotFoundException: /storage/emulated/0/myfolder/mytext.txt open failed: ENOENT (No such file or directory)</code></p>
  
  <p>3) use <code>getExternalFilesDir</code>api and saving is success but wont show up even after <code>MediaScannerConnection.scanFile</code>.</p>
  
  <pre><code>     /storage/emulated/0/Android/data/my.com.ui/files/Download/myfolder/mytext.txt
  </code></pre>
  
  <p>What is best way to copy file from internal memory to SDCARD in android Q and refresh.</p>