File operations in android Q beta

前端 未结 6 659
梦谈多话
梦谈多话 2020-12-15 11:13

1)Target set to Android Q with android.permission.WRITE_EXTERNAL_STORAGE

2) use getExternalStorageDirectoryor getExterna

6条回答
  •  遥遥无期
    2020-12-15 11:46

    If you use preserveLegacyExternalStorage, the legacy storage model remains in effect only until the user uninstalls your app. If the user installs or reinstalls your app on a device that runs Android 11, then your app cannot opt out the scoped storage model, regardless of the value of preserveLegacyExternalStorage.

    Something to remember when using this flag. know more

提交回复
热议问题