{"repo":"anggrayudi/SimpleStorage","free":true,"listed":false,"github":"https://github.com/anggrayudi/SimpleStorage","clone":"git clone https://github.com/anggrayudi/SimpleStorage.git","description":"💾 Simplify Android Storage Access Framework for file management across API levels.","language":"Kotlin","stars":867,"topics":["android","storage-access-framework","file","storage","storage-manager","android-storage","saf","scoped-storage","android-10","mediastore"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"SimpleStorage Table of Contents Overview Why v3? Getting a StorageFile Creating files & folders Copy & move Conflict resolution — a suspend lambda Zip & unzip The Flow forms Storage access & pickers, without callbacks Jetpack Compose Terminology Java Compatibility Using the 2.x API FAQ Contributing Other SimpleStorage Usage Examples License Overview The more higher API level, the more Google restricted file access on Android storage. Although Storage Access Framework (SAF) is designed to secure user's storage from malicious apps, but this makes us even more difficult in accessing files as a developer. Let's take an example where java.io.File has been deprecated in Android 10. Simple Storage ease you in accessing and managing files across API levels. If you want to know more about the background of this library, please read this article: Easy Storage Access Framework in Android with SimpleStorage Adding Simple Storage into your project is pretty simple: Where X.Y.Z is the library version: All versions can be found here: - Simple Storage Core - Simple Storage Jetpack Compose To use SNAPSHOT version, you need to add this URL to the root Gradle: Version 3 Version 3.0.0 introduces a redesigned API: one StorageFile abstraction over DocumentFile / MediaFile / java.io.File , one-shot suspend operations ( copyTo , moveTo , zipTo , unzipTo ) with a unified TransferResult , suspend-lambda conflict resolution, and StorageAccessManager replacing SimpleStorageHelper . It requires minSdk 26","default_branch":null,"files":null,"tree":[],"storefront":"/r/anggrayudi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anggrayudi/SimpleStorage/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}