0

I want to create a route beetween two point in google maps android api v2. I'm following a great and simple answer in Stackoverflow.

I'm using android Studio template for google maps, I get an exception in the execution of my code but I don't know why, this is the error:

the lines that contains errors : enter image description here enter image description here enter image description here enter image description here

UPDATE : I tried to change the call of this class but I still get the two first problems.

Community
  • 1
  • 1
AndroLife
  • 908
  • 2
  • 11
  • 27

1 Answers1

0

setUpMap() is passing a null value to getDirection().

cybersam
  • 63,203
  • 6
  • 53
  • 76