briyonce / Android-Photo-Editor

0 stars 0 forks source link

figure out why write internal storage permission isnt working #4

Open briyonce opened 5 years ago

briyonce commented 5 years ago

when you take a picture to edit, MainActivity line 189:
MediaStore.Images.Media.insertImage(getContentResolver(), newPhotoBitmap, "title,", "description"); Triggers this error writing com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=10579, uid=10078 requires android.permission.WRITE_EXTERNAL_STORAGE, or grantUriPermission()

-- permission is already granted in Manifest.xml

LatrellGaither commented 5 years ago

https://developer.android.com/training/data-storage/files

LatrellGaither commented 5 years ago

https://stackoverflow.com/questions/4751609/writing-to-the-internal-private-storage-in-android

LatrellGaither commented 5 years ago

https://stackoverflow.com/questions/44587187/android-how-to-write-a-file-to-internal-storage this is the closest i could find to an example, it wants a diff method though