In android KitKat there are some limitations for writing to SDcard.
So my question: Is it always permitted to write to Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)
even in KitKat?
Is it always permitted to write to Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) even in KitKat?
If your app has requested the WRITE_EXTERNAL_STORAGE
permission, then yes, as getExternalStoragePublicDirectory()
points to external storage, which is not removable storage ("SDCard") on the vast majority of devices.