{"id":3291,"date":"2020-04-18T22:11:03","date_gmt":"2020-04-18T12:11:03","guid":{"rendered":"https:\/\/learntodroid.com\/?p=3291"},"modified":"2020-04-18T22:11:13","modified_gmt":"2020-04-18T12:11:13","slug":"android-file-io-tutorial-with-internal-and-external-storage","status":"publish","type":"post","link":"http:\/\/10.0.0.14:32769\/android-file-io-tutorial-with-internal-and-external-storage\/","title":{"rendered":"Android File IO Tutorial with Internal and External Storage"},"content":{"rendered":"\n

In this tutorial I will cover how to create files in various methods in Android such as Internal Storage, External Storage, the MediaStore API and the Storage Access Framework.<\/p>\n\n\n\n

I will explain the differences between each of these file storage methods and provide some context on when to use each.<\/p>\n\n\n\n

I will also cover some details on the Scoped Storage privacy feature released in Android 10 and enhanced in Android 11 for files created by your app in external storage.<\/p>\n\n\n\n

I will share code samples in this tutorial and I have also published all the code from this tutorial in the GitHub repository in the link below.<\/p>\n\n\n\n

https:\/\/github.com\/learntodroid\/FileIOTutorial<\/a><\/p>\n\n\n\n

Android Internal File Storage Tutorial<\/h2>\n\n\n\n

This section of the post contains a tutorial on how to use internal storage in Android. We will cover the following topics in our tutorial on the use of internal storage in Android.<\/p>\n\n\n\n