Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13768a37 authored by Daniel Yu's avatar Daniel Yu Committed by android-build-merger
Browse files

docs: Migrating Scoped Dir Access preview docs into DAC

am: 8a481eaf

Change-Id: I53ae716ef626c0249d46df86ecd2682d90c7e740
parents 3c5cc98e 8a481eaf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1214,3 +1214,5 @@ redirects:
  to: /training/tv/tif/content-recording.html
- from: /preview/features/direct-boot.html
  to: /training/articles/direct-boot.html
- from: /preview/features/scoped-folder-access.html
  to: /training/articles/scoped-directory-access.html
+11 −0
Original line number Diff line number Diff line
@@ -252,6 +252,17 @@ external storage on a computer or removes the media, and there's no security enf
save to the external storage. All applications can read and write files placed on the external
storage and the user can remove them.</p>

<h3 id="ScopedDirAccess">Using Scoped Directory Access</h3>

On Android 7.0 or later, if you need access to a specific directory on
external storage, use scoped directory access. Scoped directory access
simplifies how your application accesses standard external storage directories,
such as the <code>Pictures</code> directory, and provides a simple
permissions UI that clearly details what directory the application is
requesting access to. For more details on scoped directory access, see
<a href="{@docRoot}training/articles/scoped-directory-access.html">Using
Scoped Directory Access</a>.

<h3 id="ExternalPermissions">Getting access to external storage</h3>

<p>In order to read or write files on the external storage, your app must acquire the
+64.9 KiB
Loading image diff...
+242 KiB
Loading image diff...
+63.8 KiB
Loading image diff...
Loading