Well, the documentation doesn't mention anything about the accuracy.
You can try and check by moving around, from ground to first floor,
how does it behave.

I guess, it is a GPS fix, then you can probably look up in Google how
does it calculate the altitude and what's the accuracy.

Thanks and Regards,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 8, 3:51 pm, Neilz <[email protected]> wrote:
> Hi, thanks for the reply.
>
> Yes, I just found the getAltitude() method of Location. Unfortunately
> it just seems to return "120.0", and doesn't seem to have the accuracy
> of getLatitude() and getLongitude(). I need the same degree of
> accuracy for it to be any use.
>
> On Dec 8, 10:35 am, "Dexter&#39;s Brain" <[email protected]> wrote:
>
> > You can use the location manager.
>
> > There are attributes like latitude, longitude and altitude which you
> > can get directly from the Location Manager.
>
> > If the provider is GPS PROVIDER, they you would probably get the
> > height everytime, but if you are querying for the NETWORK PROVIDER,
> > then the height would always be set to zero, well, in most cases.
>
> > Thanks and Regards,
> > Kumar Bibek
>
> >http://tech-droid.blogspot.com
>
> > On Dec 8, 3:30 pm, Neilz <[email protected]> wrote:
>
> > > Anyone know if it's possible to obtain the physical height or altitude
> > > of your device, using the sensors or by any other means?
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to