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

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -