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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

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