android - permission excpetion on lolipop only and pre-lolipop NOT -


anyone have worked ringtonemanger ? im facing wired problem :/

i have method ringtones names , uri availabe on mobile device

http://pastebin.com/kgtw3kab

its work on pre-lolipop devices (kitkat) , perfect when run on lolipop device gives exception "requires android.permission.read_external_storage"

-please don't tell me add read_external_storage permission because added , app works on pre-lolipop devices , that's problem .

<uses-permission android:name="android.permission.read_external_storage" /> 

android case-sensitive in places. please change to:

<uses-permission android:name="android.permission.read_external_storage" /> 

with respect change in behavior on android 5.0, require able read external storage access stuff mediastore resides on external storage. not unique ringtones.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -