I wan to monitor changes in android system file
"/sys/class/net/eth0/operstate"
for monitoring ethernet state.
I have written an File Observer class but i am not getting any events in public void onEvent(int event, String path)
call back function.
Do we need any special type of permissions for observing android system files?
Do i need to run my APK as root.
Thanks.
我们不能用于观察Android系统文件,我们需要root权限。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.