Hello,

i'm new in developing with the google api.

I work on an android application. I want to make all steps from a
route available in a java file.
In my Java file i use:
HttpClient client = new DefaultHttpClient();
//for example:
 HttpGet get = new HttpGet("http://code.google.com/apis/maps/
documentation/examples/directions-advanced.html");
 try {
        response = client.execute(get);
        ...

But the content of the response variable is the html page with the
javascript; but without any content.

So what i want is to get the steps from a route back. The directions-
advanced.html-example is really good, but i cannot fetch the content
of this site.

I hope that the google api has a function, which can get these steps.
The GDirections object:
gdir = new GDirections(map, document.getElementById("directions"));
only write all steps in the directions-div-element.
So how can i send back all steps to the java file and the more
important question:

How can i get the steps in the javascript.

Thanks,
Stefan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to