Firemonkey (Delphi XE5) Android Altitude from GPS -


trying gps altitude on android device using delphi xe5/firemonkey.

... var   altdbl  : double; ...    sender tcustomlocationsensor     begin     //did bypass possible problem tostring conversion     altdbl := altitude;     lbaltitude.text := formatfloat( '###0.0## meters', altdbl );      lblatitude.text := latitude.tostring();     lblongitude.text := longitude.tostring();     end; 

the lat , lon work altitude returns "nan".


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -