Kotlin

Save an image to SD Card in Android with Kotlin

Save an image to the SD Card in Android, by following a series of steps in a live code example: 1) Add permission to AndroidManifest.xml, 2) Add provider to AndroidManifest.xml, 3) Create file_paths.xml file with the files that our content provider can access, 4) Create a unique filename with SimpleDateFormat and today’s date, 5) Define […]