I used the method used on that link to show a route between two GeoPoints :
Why retrieving Google Directions for Android using KML data is not working anymore?
I would like to know if there's a way to get a walking route instead of the driving route.