api - Android Google Directions Service usable natively? with wrapper framework? Public transit/biking directions available? -
Some questions about Android and Google Direction service:
-
Origin is there a way on Android to use the Direction service from Google or is there a good rapper framework? I would like to retrieve the time needed to reach A to B and possibly show the route in a table and / or map.
-
As far as I know the directions can only be retrieved for "walking" and "driving"
Thx for your help!
/ div>
I do not know at all that this is what you want But you can set an intentional fire like this:
string url = "http://maps.google.com/maps?saddr=some+address&daddr=another+ Address "Intent Intent = New Intent (android.content.Intent.ACTION_VIEW, URI.parse (url));
Add "& amp; dirflg = b" to the url to get biking directions, add "dirflg = r" for public transportation.
This route will display in the Google Maps app. If you want to get it in your map in a map view, please see. You can hack into code to add biking and public transport functionality.
Hope this helps in some way.
Comments
Post a Comment