On Tue 9 Feb 2010 20:48, Lance Nanek pondered:
> This mentions the accelerometer:
> http://pdk.android.com/online-pdk/guide/sensors.html

Thanks - that helps, but - I'm to understand that there is no kernel/userspace 
API standard for sensors, and that every device manufacture is on their own 
to make up something themselves, and create their 
own /system/lib/libsensors.so?

Poking around I found some qemu sensor files that people seem to base things 
from? but no "this is the example that runs on hardware" to say what the 
defacto kernel/userspace API is...

Thanks

> On Feb 9, 2:48 pm, Robin Getz <rg...@blackfin.uclinux.org> wrote:
> > On Fri 5 Feb 2010 11:45, Robin Getz pondered:
> >
> > > Where is an example of an accelerometer driver that properly connects
> > > to the android sensor event API?
> >
> > >http://developer.android.com/reference/android/hardware/SensorEvent.html
> >
> > > We have an accelerometer 
driver -http://patchwork.kernel.org/patch/53645/
> > > but I expect that it doesn't expose things in /dev the way that the
> > > rest of Android wants it to - so it isn't going to work. I would like
> > > to understand what the "standard" is...
> >
> > > Any pointers appreciated.
> >
> > Trying android-developers, since android-kernel seems a little dead...
> >
> > Thanks
> > -Robin
> 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to