android - How Can make Toast.makeText in Google map? -


i want know how can make 'toast.maketext`to tell me order of cities in path

code :

        shortest = tsp.tsp(matrix);           for(int i=0; < 20 ; i++)         {              googlemap.addpolyline(new polylineoptions().geodesic(true)                             .add(new                   latlng(placelatitude[shortest[i]],placelongitude[shortest[i]]))                             .add(new latlng(placelatitude[shortest[i+1]],placelongitude[shortest[i+1]]))             );         }      } 

here full description on toast. , i'm guessing can record cities being added in order in string array , run loop append text displayed on toast message.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -