even after testing info and info.position for null, the function info.position.toGeoString(Position.GEO_DMS) returns
_ ____'__.__"______'__.__"
function onPosition(info)
{
if(( info != null )&&(info.position != null)&&(info.accuracy >= Position.QUALITY_POOR))
{
MyPos = info.position.toGeoString(Position.GEO_DMS);
}
}
I can understand, that the beginning of the FIT file contains some invalid info until the GPS quality reached a certain level. I just need to find a way to distinguish such invalid measurements from valid data points.
any hints ???
thanks so much
uwe