Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Warning users of strong magnetic field
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ichsan  
View profile  
 More options Oct 13 2012, 6:26 am
From: Ichsan <ich...@gmail.com>
Date: Sat, 13 Oct 2012 03:26:58 -0700 (PDT)
Local: Sat, Oct 13 2012 6:26 am
Subject: Warning users of strong magnetic field

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-...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Oct 13 2012, 7:11 am
From: RichardC <richard.crit...@googlemail.com>
Date: Sat, 13 Oct 2012 04:11:32 -0700 (PDT)
Local: Sat, Oct 13 2012 7:11 am
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Gregory  
View profile  
 More options Oct 13 2012, 7:55 am
From: Andrew Gregory <andrew.greg...@gmail.com>
Date: Sat, 13 Oct 2012 19:52:46 +0800
Local: Sat, Oct 13 2012 7:52 am
Subject: Re: [android-developers] Re: Warning users of strong magnetic field

Use android.hardware.GeomagneticField and warn when the actual field is
significantly above or below what is expected.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »