How to embed GoogleMaps into mobile application for real-time navigation? : <p>Take Uber as an example. How can I get that real-time navigation functionality?</p>

<p><strong>Thoughts</strong></p>

<ol>
<li><p>Get list of latitude/longitude waypoints from WayPoints API: <a href="https://developers.google.com/maps/documentation/directions/intro#Waypoints" rel="nofollow">https://developers.google.com/maps/documentation/directions/intro#Waypoints</a> </p></li>
<li><p>Use the coordinates from step #1 to draw a polyline: <a href="https://developers.google.com/maps/documentation/android-api/shapes#code_samples" rel="nofollow">https://developers.google.com/maps/documentation/android-api/shapes#code_samples</a></p></li>
</ol>

<p>However, this would be essentially re-implementing the GoogleMaps app. I would have to adjust the polyline if the user left the path, etc. </p>

<p>Is it possible to just embed real-time directions? </p>
