I want to access files in the /sys, to be exact in the /sys/class folder. I just need to read some values there.
I tried the Context.openFileInput method, but got only exceptions and I understand this is not the right way.
thanks for replying!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no way for you to read the contents of anything in
/syson a production Android device, except those that have been rooted by their users. Sorry!