Message from discussion
making an android compass
Received: by 10.66.72.130 with SMTP id d2mr1256856pav.33.1348768868419;
Thu, 27 Sep 2012 11:01:08 -0700 (PDT)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.68.194.202 with SMTP id hy10ls10783298pbc.0.gmail; Thu, 27 Sep
2012 10:58:26 -0700 (PDT)
Received: by 10.66.83.35 with SMTP id n3mr829108pay.23.1348768706728;
Thu, 27 Sep 2012 10:58:26 -0700 (PDT)
Received: by 10.66.83.35 with SMTP id n3mr829107pay.23.1348768706717;
Thu, 27 Sep 2012 10:58:26 -0700 (PDT)
Return-Path: <magouyaw...@gmail.com>
Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54])
by gmr-mx.google.com with ESMTPS id p7si1773292pby.0.2012.09.27.10.58.26
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 27 Sep 2012 10:58:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of magouyaw...@gmail.com designates 209.85.220.54 as permitted sender) client-ip=209.85.220.54;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of magouyaw...@gmail.com designates 209.85.220.54 as permitted sender) smtp.mail=magouyaw...@gmail.com; dkim=pass header...@gmail.com
Received: by padbi1 with SMTP id bi1so1748228pad.13
for <android-developers@googlegroups.com>; Thu, 27 Sep 2012 10:58:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
bh=WAXXraTE9U0a42c7rH1vmt4gN0CzWIFnU5ANdPUGgGI=;
b=OVybGloeh+1WaPodxkNgVosp0g/Iz1O0ccAO14WD12jKp/sMQWbIsObfgP+/jecn9h
/8lalPH1vjzPyzVsXnf5RRd5/ad8Rpk2IF7l7Xfeu5JCp16QtXf93nQG0sL/z/8/ufal
xVHb/VyFJerjTAknVT4GR2OtCOiA9kpQd0hrA6m7kSkoGC58k/7aZLzPEK8dB9vQoFXW
4RwItl07AdZfqySR12k2NjHfeM9ECedFVT8WL+k1FSZ7C2NmxgBtV081gNmWPsr/mj5B
ZxVy62gi+GXx+lmBYiPPVYi6E3cj3jnRWzlF1uR3hsSDyCWxThyEwSbTe07UPoi0JhPq
iE7A==
Received: by 10.66.78.4 with SMTP id x4mr11332747paw.60.1348768706475; Thu, 27
Sep 2012 10:58:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.193.225 with HTTP; Thu, 27 Sep 2012 10:58:06 -0700 (PDT)
In-Reply-To: <030a80b9-a29b-4419-a143-59fb78e423c4@googlegroups.com>
References: <030a80b9-a29b-4419-a143-59fb78e423c4@googlegroups.com>
From: Justin Anderson <magouyaw...@gmail.com>
Date: Thu, 27 Sep 2012 11:58:06 -0600
Message-ID: <CAOq06s9Z1yRuWjt9dAbLGj+tsQf9eu46m4kRgM4iXpWKsuA...@mail.gmail.com>
Subject: Re: [android-developers] making an android compass
To: android-developers@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d042e00e1a235bf04cab2af7b
--f46d042e00e1a235bf04cab2af7b
Content-Type: text/plain; charset=ISO-8859-1
Why not post a comment on his blog and ask him about it? That's what
others have done... and he seems to respond to comments/questions
consistently...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, Sep 27, 2012 at 9:33 AM, bob <b...@coolfone.comze.com> wrote:
> So, I'm trying to learn how to make an android compass.
>
> Naturally, I used a site called google and typed the following in:
>
> "making an android compass"
>
> I found myself at this URL:
>
>
> http://android-er.blogspot.com/2010/08/simple-compass-sensormanager-and.html
>
> After looking thru it, I'm thinking it's incorrect.
>
> There is this suspiciously simple method:
>
> public void onSensorChanged(SensorEvent event) {
> // TODO Auto-generated method stub
> myCompassView.updateDirection((float)event.values[0]);
> }
>
>
>
> Basically, it seems like they are using the x component of the force
> vector as if it were an angle. Can someone else look at this and let me
> know what you think?
>
> --
> 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
--f46d042e00e1a235bf04cab2af7b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Why not post a comment on his blog and ask him about it?=A0 That's what=
others have done... and he seems to respond to comments/questions consiste=
ntly...<br><br clear=3D"all">
Thanks,<br>
Justin Anderson<br>
MagouyaWare Developer<br>
<a href=3D"http://sites.google.com/site/magouyaware" target=3D"_blank">http=
://sites.google.com/site/magouyaware</a><br>
<br><br><div class=3D"gmail_quote">On Thu, Sep 27, 2012 at 9:33 AM, bob <sp=
an dir=3D"ltr"><<a href=3D"mailto:b...@coolfone.comze.com" target=3D"_bla=
nk">b...@coolfone.comze.com</a>></span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div>So, I'm trying to learn how to make an android compass.</div><div>=
<br></div><div>Naturally, I used a site called google and typed the followi=
ng in:</div><div><br></div><div>"making an android compass"</div>
<div><br></div><div>I found myself at this URL:</div><div><br></div><div><a=
href=3D"http://android-er.blogspot.com/2010/08/simple-compass-sensormanage=
r-and.html" target=3D"_blank">http://android-er.blogspot.com/2010/08/simple=
-compass-sensormanager-and.html</a></div>
<div><br></div><div>After looking thru it, I'm thinking it's incorr=
ect.</div><div><br></div><div>There is this suspiciously simple method:</di=
v><div><br></div><div>public void onSensorChanged(SensorEvent event) {</div=
>
<div>=A0// TODO Auto-generated method stub</div><div>=A0myCompassView.updat=
eDirection((float)event.values[0]);</div><div>}</div><div><br></div><div><b=
r></div><div><br></div><div>Basically, it seems like they are using the x c=
omponent of the force vector as if it were an angle. =A0Can someone else lo=
ok at this and let me know what you think?</div>
<span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google<br>
Groups "Android Developers" group.<br>
To post to this group, send email to <a href=3D"mailto:android-developers@g=
ooglegroups.com" target=3D"_blank">android-developers@googlegroups.com</a><=
br>
To unsubscribe from this group, send email to<br>
<a href=3D"mailto:android-developers%2Bunsubscribe@googlegroups.com" target=
=3D"_blank">android-developers+unsubscribe@googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/android-developers?hl=3Den" targe=
t=3D"_blank">http://groups.google.com/group/android-developers?hl=3Den</a><=
/font></span></blockquote></div><br>
--f46d042e00e1a235bf04cab2af7b--