public static String formatWaypointNames ( String [ ] waypointNames ) { for ( int i = 0 ; i < waypointNames . length ; i ++ ) { if ( waypointNames [ i ] == null ) { waypointNames [ i ] = "" ; } } return TextUtils . join ( ";" , waypointNames ) ; }
Converts String array with waypoint_names values to a string ready for API consumption .