Skip to content

Tool EspPermissionsTool

Nico Küchler edited this page Apr 9, 2016 · 2 revisions

Warning: On Android armeabi/23 emulator you won't get WRITE_EXTERNAL_STORAGE permission for Environment.getExternalStorageDirectory() or Environment.getExternalStoragePublicDirectory(String type) immediate after requesting it (but checkPermission says true). Only after an app restart the permission is really granted. With lower version, other abi or real device it does work. See also [Stackoverflow post] (http://stackoverflow.com/questions/32947638/requesting-and-allowing-write-external-storage-permission-at-runtime-has-no-effe).