title: Altitude always 0. I cannot obtain the altitude above sea level
body: <p>I get the altitude always 0. I want to obtain the altitude above sea level in Android using GPS.</p>
  
  <p>My code is:</p>
  
  <pre><code>public void onLocationChanged(Location location) {
      double lat = (double) (location.getLatitude());
      double lng = (double) (location.getLongitude());
      double alt = (double) (location.getAltitude());
      latitudine = (int) (lat * 1e6);
      longitudine = (int) (lng * 1e6);
      altitudine = (int) (alt * 1e6);
  }
  </code></pre>