# Removable SD Card access, or, Internal SD folder access

**URL:** https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603
**Category:** Processing for Android
**Created:** [June 15, 2024, 8:56am UTC](https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603 "2024-06-15T08:56:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [June 15, 2024, 12:55pm UTC](https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603/2 "2024-06-15T12:55:47Z")

</div>

@enonod

Yes this is Google’s doing … new security requirements. To access storage you now have to use the Storage Access Framework… shouldn’t impact installation of an apk though??, just storage access once the app is running.

This discussion has some code is an example of how to load and save a file …

> [@Android 13 MANAGE\_EXTERNAL\_STORAGE stops working, what can I do?](https://discourse.processing.org/t/android-13-manage-external-storage-stops-working-what-can-i-do/40362/5):
>
> @bigboss97 Here it is astonished import android.content.Intent; import android.net.Uri; import android.provider.DocumentsContract; import android.content.Context; import android.content.ContentResolver; import android.app.Activity; Context context ; Activity activity ; byte[] saveArray = {0, 1, 2, 3, 4, 5, 6, 7} ; //dummy data byte[] loadArray ; String displayText1 = "tap HERE to save"; String displayText2 = "tap HERE to load"; int REQUEST\_CODE ; void setup() { activity = getActivity();…

---

_[View the full topic](https://discourse.processing.org/t/removable-sd-card-access-or-internal-sd-folder-access/44603)._
