How to grant permission to read a file?

26 views
Skip to first unread message

Adrian Antal

unread,
Nov 18, 2018, 4:46:28 AM11/18/18
to Android-x86
Hello everyone!

I created a custom build for QA purposes where the TelephonyManager.class is reading the content of a file located in /storage/emulated/0/MY_DIR. The problem is when attempting to read from file a "Permission Denied" error occurs. Can anyone please tell me how can I grant permission to the TelephonyManager.class to read a file?

Thank you very much! 

Best, Adrian Antal
Reply all
Reply to author
Forward
0 new messages