i working with google map directions api in android application.when i send two Location to google api it return route between both but LatLng is changing and no one send me.Is there a way to do this?
Asked
Active
Viewed 121 times
1 Answers
1
You have to implement LocationListener to locate user's device GeoCode.
That will take some effort. You could refer the demo I made here mClima The listener for location change was implemented in MainActivity. Remember to declare permision in AndroidManifest

Cuong Vo
- 648
- 9
- 12
-
I use from LocationListener but location that return from google direction it is different with location that i send – handerianous Aug 07 '17 at 04:36