Displaying Route Path Names
//main activity in this class two errors shown below within the comments import android.graphics.Color; import android.os.Bundle; import com.google.android.maps.GeoPoint; import c
Solution 1:
That happened to me too. To solve it - in function 'direction', when you start to build the jsonURL string, add 'http://' at the beginning, just before 'map.google.com...'.
Solution 2:
I think the problem here is that you are targeting newer APIs , that requires accessing the network not in the main thread. Change the definition of getInputStream() (At XMLParser?) to support networking in a seperate thread.
Post a Comment for "Displaying Route Path Names"