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

Commit 3da1cf47 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 am: 13768a37

am: 9b379f2e

Change-Id: Ie4e1ee59074da4a954f0f240d1cf46a7b7625760
parents 67687f6b 9b379f2e
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