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
Post a Comment