Skip to content Skip to sidebar Skip to footer

Can We Access "sysfs Entry" In Our Android Application Directly?

I know that we are using jni as an interface with driver which allows android application framework to communicate with device driver. But i don't know exact reason that why we can

Solution 1:

Cannot access sysfs from application layer. I was trying to perform write on a sysfs file but failed.

Have to necessarily go through android middleware framework and/or HAL layer. These services could be provided selinux privileges allowing access to sysfs.

Post a Comment for "Can We Access "sysfs Entry" In Our Android Application Directly?"