[android-developers] Re: Magnetic Sensor
This method does not return magnetic sensor output but calculates
parameters of the Earth magnetic field model in a given point at a
certain time (you can Google for IGRF abbreviation to see details).
If you want to get magnetic sensor output then check SensorManager:
check http://developer.android.com/reference/android/hardware/SensorManager.html
On Apr 20, 12:10 pm, Thisara Rupasinghe <thisara...@gmail.com> wrote:
> Hello,
>
> When I try to use magnetic sensor it need physical location to find the
> megnetic strength. But since it is going to measure the magnetic strength
> why does it need the physical location? Can anybody help me with this.
>
> public GeomagneticField (float gdLatitudeDeg, float gdLongitudeDeg, float
> altitudeMeters, long timeMillis)
>
> --
> Thanks & Regards,
> Thisara.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home