Same issue. does android manage altitude information ? did someone try on a real phone ?
thx Cédric On 12 sep, 22:48, Ken Bradshaw <[email protected]> wrote: > Hi, > Any clue as to the solution on this? I am having the same issue, > though my method of sending the location information is different. I > am loading a gpx file which contains elevation information into > eclipse. When I play the gpx file in eclipse, latitude, longitude and > time definitely change in the new Location, but calls to getAltitude() > always = 0.0. I have added the permissions ACCESS_COARSE_LOCATION and > ACCESS_FINE_LOCATION but it didn't make any difference. I assume this > mechanism is broken in the emulator or in eclipse, can anyone at least > verify that calls to getAltitude() works correctly on the actual > phone? If it works on the phone, then I won't worry about testing > this. > > On Aug 5, 4:33 am, Horse <[email protected]> wrote: > > > > > Hi, > > > I use the "geo" command in the emulator console, and input "geo fix > > -121.45356 46.51119 4392". > > Using Location.getAltitude() to get thealtitude, but always return > > zero. > > How to get thealtitude, when I use the "geo" command and getAltitude > > () method? > > Thanks for your help. > > > BR, > > Horse- Masquer le texte des messages précédents - > > - Afficher le texte des messages précédents - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

