0

In a class derived from the MapActivity class, I want to get the altitude of the point clicked by the user. So far, I know how to retrieve the latitude, the longitude but not the altitude.

Is it possible and how?

Thanks in advance for the time you will spend trying to help me.

Zelig
  • 157
  • 3
  • 12
  • http://stackoverflow.com/questions/1995998/android-get-altitude-by-longitude-and-latitude - check first answer – Suchi Jul 16 '11 at 16:08

1 Answers1

0

Find yourself a Web service that can report the altitude for a given latitude and longitude. There is nothing built into Android for this.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    @Zelig - Check out google elevation API - http://code.google.com/apis/maps/documentation/elevation/ – Kenny Jul 17 '11 at 13:18
  • Ok, I have found a web service which returns the altitude. But how can I use it in an Android application? – Zelig Aug 24 '11 at 15:35