I am trying to get my current location and get the driving directions to some destination. I am able to get my location and when I execute the code for the driving directions I
This is cause when you are trying to do networking on the main thread.. it should be done on the background thread..
solution: AsyncTask
Click here to learn about AsyncTask