AFAIK sensors have some noise. I have seen a similar issue with the
accelerometer. See this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/d61f7790afb3f8b6/e48882882a69e001?lnk=raot&fwc=1

I suggest you try a low-pass digital filter approach, similar to what I used
for the accelerometer, and see if that works for you.

On Fri, Feb 19, 2010 at 5:34 AM, Sunny25 <hi2sunn...@gmail.com> wrote:

> Hi All,
> I'm developing very basic application to get location usnig,
> LocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
> 5000, 1,this);
> and displaying the longitude and lattitude information on the screen,
>
> Now the problem is whenever I deploy this application on HTC Magic and
> keep it stationary. The readings i.e. longitude and lattitude are
> changing from time to time.
>
> Can you please help me with this.
>
> Thank you,
> Sunny
>
> --
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to