• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android permission for usb file reading

azhar123454

Lurker
I want to access sys/usb /subsystem/ folder in android 9 but its giving access denied. before android 9 , iam able to read files from there. how to get rid of permission denied, or any permission i should ask at runtime
 
I want to access sys/usb /subsystem/ folder in android 9 but its giving access denied. before android 9 , iam able to read files from there. how to get rid of permission denied, or any permission i should ask at runtime
anything with "sys" you will not have access to it unless you root your device. system files are part of the android os and you need root access to make any changes to it. what are you trying to do?
 
Back
Top Bottom