I know that you can draw paths using polylines this way:
PolylineOptions rectOptions = new PolylineOptions();
rectOptions.color(Color.RED);
String[][] lineInformation = ((MyApplication)getApplication()).getLineInformation(line);
for (int i=0; i<lineInformation.length; i++){
rectOptions.add(new LatLng(Double.parseDouble(lineInformation[i][0]),Double.parseDouble(lineInformation[i][1])));
}
mMap.addPolyline(rectOptions);
But using that code, the lines will pass through edifices with straight lines and that's not the behaviour I'm searching for. I'm trying to draw the path through roadways which can be driven by a car.
Is that possible in Google Maps v2?
PS: the questions proposed by xomena in the comments are not applicable because they only work with two points, origin and destination.