i can suggest to start from the examples found in the AOSP-supported
device, e.g.
$ cd device/moto/stingray/sensors
$ ls -l
total 84
-rw-r--r-- 1 ffxx68 ffxx68 4795 2012-12-21 19:45 AccelerationSensor.cpp
-rw-r--r-- 1 ffxx68 ffxx68 1595 2012-12-21 19:45 AccelerationSensor.h
-rw-r--r-- 1 ffxx68 f
I guess you can check https://github.com/opersys/opersys-hal-hw where Karim
Yaghmour gave an example implementation.
Hope this helps.
Zafer
16 Temmuz 2013 Salı 13:35:08 UTC+3 tarihinde shashi pal yazdı:
>
> hello all,
>
> Can some one please guide me towards any documentation threads that can