In the Google Maps API v2 Demo, there is the MarkerDemoActivity class in which you can see how the custom image is installed in GoogleMap. You can use the marker to show the arrow as follows:
Some clarification: When you draw a route, or if you just got two points to get rotationDegrees , you can get them by doing the following:
rotationDegrees = Math.toDegrees(Math.atan2(originLat-destinyLat, originLon-destinyLon));
Classic rotation game algorithm: D
Make sure the arrow is pointing up. Please note: if you do not want to use the image to display the arrow, and instead you want to use only polylines, you can achieve this by taking the last LatLng point (where you are going to display the arrow) and use the 45º translation algorithm to draw two lines that create the arrow.
source share