Replies: 3 comments 2 replies
-
bad answer but... idk I just randomly copy code snippets on stackoverflow until it works. storage and files on android make my head hurt. Common cases I've come across in my 5+ years as an android dev
|
Beta Was this translation helpful? Give feedback.
-
I use the LibGDX framework and its AndroidFileHandle class uses java.io.File. However, LibGDX's FileHandle functionality has been severely limited since the introduction of scoped storage and I haven't been able to find a solution to get it working the way it used to work. Someone on the LibGDX Discord pointed me here to ModernStorage and I'm hoping this will make file access much easier like it used to be. Using java.io.File might make it easier for the LibGDX developers to get the FileHandle working in the same way again. |
Beta Was this translation helpful? Give feedback.
-
i user java.io File for my apps. in the old (good) world i have an folder in root where all these files are stored. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
As a devrel on Android, sometimes I struggle to get insights on how developers interact with storage on Android.
Since Scoped Storage introduction, many APIs have changed and I want to know more details about your usage.
Please upvote using reactions and feel free to add comments to give more details:
java.io File
👍java.nio File
🎉MediaStore
❤️Storage Access Framework
(viaContentResolver
) 🚀NDK File
👀Beta Was this translation helpful? Give feedback.
All reactions