jd-alexander / Google-Directions-Android

This project allows you to calculate the route between two locations and displays it on a map.
https://play.google.com/store/apps/details?id=com.directions.sample
MIT License
979 stars 394 forks source link

simple example problem #41

Closed harryRichardIzquierdo closed 8 years ago

harryRichardIzquierdo commented 8 years ago

I have a simple example, but I have problems, do me a great favor if you help me. problema

fcduarte commented 8 years ago

@jd-alexander I don't know if it's related but the README is outdated when it describes the onRoutingSuccess listener .. it should be public void onRoutingSuccess(ArrayList<Route> route, int shortestRouteIndex)

maybe that is the problem @harryRichardIzquierdo is having because seems like he copy-pasted the sample.

harryRichardIzquierdo commented 8 years ago

you're right, thank you very much @fcduarte for your help, but not solved, wanted a simple example to go slowly understanding. I want to have 3 LatLng for the road is generated.

fcduarte commented 8 years ago

Check out the whole repository and look the MainActivity class from the sample module .. It'll help to start.

On Wed, Jan 6, 2016 at 1:15 PM harryRichardIzquierdo < notifications@github.com> wrote:

you're right, thank you very much for your help, but not solved, wanted a simple example to go slowly understanding. I want to have 3 LatLng for the road is generated.

— Reply to this email directly or view it on GitHub https://github.com/jd-alexander/Google-Directions-Android/issues/41#issuecomment-169463118 .

jd-alexander commented 8 years ago

I'm sorry I haven't updated the readme. I am gonna do so now.