I try to recive from android the public music directory by:
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC);
At my android 4.2 device it's /storage/emulated/0/Music and works well.
At android 5.0.1 device it's /storage/sdcard0/Music and readonly.
Why? I know that at 4.4 was restricted to write to the internal memory but it is public director, isn't it?
Problem was that device sequrity politic is prevent access to Music directory to non system signed applications by emulated/0/Music (emulated file system). Can access to it by /data/0