title: Android Q: SQLite database in scoped storage
body: <p>In Android Q introduced new <a href="https://developer.android.com/training/data-storage#scoped-storage" rel="noreferrer">Scoped storage</a> feature, which says:</p>
  
  <blockquote>
    <p>apps that target Android 10 (API level 29) and higher are given scoped access into external storage, or scoped storage, by default. Such apps have access only to the app-specific directory on external storage, as well as specific types of media that the app has created.</p>
  </blockquote>
  
  <p>I have my app that creates SQLite database on external storage, such that when app uninstalls database still alive and can be used later as recovery or be used outside of Android device (let's say in PC)</p>
  
  <p>How should I achieve the same effect with Android Q? More precisely if database stored in external public directory - how can I read this database using standard <code>SQLiteOpenHelper</code>?</p>