[android-developers] Re: Warning users of strong magnetic field
How about using the field strength values: determine a reasonable range and put up a Toast if the field strength is too large?
http://developer.android.com/guide/topics/sensors/sensors_position.html
On Saturday, October 13, 2012 11:26:58 AM UTC+1, Ichsan wrote:
-- On Saturday, October 13, 2012 11:26:58 AM UTC+1, Ichsan wrote:
Does anybody know how to warn users of string magnetic field? I'm creating a compass application. But when there are magnetic items around, the north direction is going wrong.Using SensorEventListener#onAccuracyChanged doesn't help. Is there any tutorial telling me how to handle this problem?FYI, I followed this tutorial to create this compass app: http://stackoverflow.com/questions/4819626/android- phone-orientation-overview- including-compass
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