Thank you.. One more thing is same is applicable to compass/light sensor/proximity sensor or any conversion is required ?
On Thu, Mar 4, 2010 at 2:09 PM, WoW <[email protected]> wrote: > From my experience, i only report raw data. SensorManager will use the > data you report to calculate the angle and do the rotation. You need > to implement HAL in \Hardware. So, JNI can get values from your driver > and report to AP. > > On 3月1日, 下午12時59分, "[email protected]" <[email protected]> wrote: > > Hi, > > > > I am writing Sensor HAL for BMA150(3-axis accelerometer) on eclair. > > when i refer to sensors.h below has been give. > > Acceleration > > ------------------- > > All values are in SI units(m/s^2) and measure the acceleration > > of the device minus the force of gravity. > > X:Acceleration minus GX on the X-axis > > Y:Acceleration minus GX on the Y-axis > > Z:Acceleration minus GX on the Z-axis > > > > I am getting raw values X,Y,Z values(from accelerometer Driver) Any > > help on this how to convert raw values for above ?? > > > > Rgds > > Chetan > > -- > 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
