• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. K

    Saving generic files in latest Android SDK to shared storage

    To save generic files to shared storage in the latest Android SDK (Android 10+): Request write and read external storage permissions. Use the Storage Access Framework (SAF) to pick a location. Handle the selected location's URI and write your file using a ContentResolver.
  2. K

    how do i Allow file access from android web view?

    To allow file access from an Android WebView, use these settings: Set webView.getSettings().setAllowFileAccess(true); Ensure you have the READ_EXTERNAL_STORAGE permission in your AndroidManifest.xml for accessing device files.