I am creating a basic Hiker's Watch app that provides the user his/her location info like (longitude, latitude, altitude, etc).
However, the altitude displayed in the logs is always 0.0
(in spite of assigning some non zero value for altitude in the Extended Controls).
According to,
locationProvider.supportsAltitude()
location.hasAltitude()
the device supports altitude but no location has any altitude.
Even Mount Everest (according to co-ordinates) "does not have" altitude.
I am getting other location details like Latitude, Longitude.
What can I do?