title: Android 10 How to create file/folder in file manger that is accesible with all app
body: <p>I am using the below code to create a directory/ file in storage.</p>
  
  <pre><code>   File file  = new File(Environment.getExternalStorageDirectory().toString(), "/MyDirectory");
  </code></pre>
  
  <p>After updating target SDK version 29 in android 10 its not woking.</p>
  
  <p>can anyone suggest how to create a folder outside the application scope?</p>