Android Studio – How to give to a service permission to read a Uri?
TL;DR: I get the following error when I try to read a file (Uri) in a service I get the following error: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider What I am trying to do: a) read an audio file at…