i dont have ready hints, but u can refer our sensor hal implementation
patch - 
http://git.omapzoom.org/?p=device/ti/blaze.git;a=commitdiff;h=12f5a218283531798e7513bcf6fb8a7d8fd711e5;hp=cd01a96cdf9dbb9235038e9c700b79a30c2e1b1f
src - 
http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=sensors;h=d791b08b62a9199982218c3389282af7902a2fd6;hb=froyo

-- 
Regards,
Deva
www.bittoggler.com


On Wed, Oct 27, 2010 at 3:36 PM, lgbk <brown.hu...@gmail.com> wrote:
> Hi all,
>  Is there anybody know the the magnetic unit in android?Which unit
> the android use?In sensor.h I know it seems MT (micro telsa),but when
> I report the mt to android ,compass app display the data is wrong.From
> my compass driver in linux ,it report the data of Micro Gauss unit.
> like (x=466MT,y=455MT,z=220MT).Then in android I convert it to MT.
> 1 Gauss=10e-4 T.and 1T=1000MT.So after convertion,it change to
> (x=0.0466MT,Y=0.0455MT,Z=0.022MT).I don't know wheter this vaule is
> corecct. Any suggestion is appreciate ,thanks!!1
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to