I should get back distance, duration and directions as result when i pass an intent with origin and destination in android studio : <p>I am working on an android application in which during the registration of the user i will get his location and i had a starting point. </p>

<ul>
<li>I am thinking of sending an intent to Google maps and getting back required result from it. How can i extract the distance, duration and directions from the result of intent?</li>
<li>Is there any other way better than this?</li>
</ul>
