Hi Florian, Touch events are handled by EventHub and not by sensor interface.
Regards Afzal On Fri, Oct 29, 2010 at 5:51 PM, lobi <[email protected]> wrote: > Hello, > > I am quite new to android development using sensor interface. I am > currently working on a sensor driver, which can detect proximity and > grip. > In Android sensors.h file only proximity sensor is available so far. > So my question is now how to deal with grip events. Can these events > be communicated through androids sensor interface? Or do I have to use > another way (e.g. using SYSFS files combined with a CLib). > For proximity events I want to use the android sensor interface with > the shared library. But how do I communicate with the kernel driver > from the shared library? Also using SYSFS? > > In addition the sensor driver should be able to be re-calibrated using > an android application. So I would also need to communicate from an > android application down to the driver itself. Is this also possible > via SYSFS and CLib or is there another solution preferred? > > Hope that someone can help me. > > Best regards, > Florian > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
