Android Magnetic Fields Sensor Detection App.


Baca Juga




Android Magnetic Fields Sensor Detection App.




















 We've test Magnetic Fields Sensor for Android Mobile phone.( LG Optimus One P500 )

public class

GeomagneticField

extends Object
java.lang.Object
   ↳ android.hardware.GeomagneticField

Class Overview

This class is used to estimated estimate magnetic field at a given point on Earth, and in particular, to compute the magnetic declination from true north.
This uses the World Magnetic Model produced by the United States National Geospatial-Intelligence Agency. More details about the model can be found at http://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml. This class currently uses WMM-2010 which is valid until 2015, but should produce acceptable results for several years after that. Future versions of Android may use a newer version of the model.

Summary

Public Constructors
GeomagneticField(float gdLatitudeDeg, float gdLongitudeDeg, float altitudeMeters, long timeMillis)
Estimate the magnetic field at a given point and time.
Public Methods
float getDeclination()
float getFieldStrength()
float getHorizontalStrength()
float getInclination()
float getX()
float getY()
float getZ()
[Expand]
Inherited Methods
From class java.lang.Object



more info about Android Development
http://androiddevelopersthai.blogspot.com/


Subscribe to receive free email updates:

0 Response to "Android Magnetic Fields Sensor Detection App."

Post a Comment