// Calculate average speed travelled enroute to WayPoint
final float avgSpeed =
point._distance / (point._endTime - point._startTime);
add(new RichTextField("Start: " + startTime, Field.NON_FOCUSABLE));
add(new RichTextField("End: " + endTime, Field.NON_FOCUSABLE));
add(new RichTextField("Horizontal Distance (m): "
+ Float.toString(point._distance), Field.NON_FOCUSABLE));
add(new RichTextField("Vertical Distance (m): "
+ Float.toString(point._verticalDistance),
Field.NON_FOCUSABLE));
add(new RichTextField("Average Speed(m/s): "
+ Float.toString(avgSpeed), Field.NON_FOCUSABLE));
// Display the WayPoint on a map
final MapField map = new MapField();
map.moveTo(new Coordinates(point._latitude, point._longitude,