Read and write files in app private storage
This post shows how to create a text file in private app storage and access all files in private app storage. In AndroidManifest.xml add a FileProvider. In xml folder in res/ and in res/xml/ add a file provider_paths.xml. Create your layout in activity_main.xml. In MainActivity.java use following codes. Create private_storage.xml in res/layout/ folder. Create recycler_item.xml … Read more