Search Location by Name

Put your problem here if it does not fit any of the other categories.

Search Location by Name

Postby felix » Wed Mar 05, 2008 6:35 pm

Well, i'm building an android app, with the user input where her from and the destination, and the map make the trace between the locations, but I'm only have the Address for the two locations.

And I'm not found an option to make this.

Can you help me?

Sorry for my poor english.
Junior Developer
Junior Developer
Posts: 18
Joined: Thu Feb 14, 2008 4:25 pm
Location: Brasil


Postby plusminus » Wed Mar 05, 2008 8:08 pm

Hello felix,

have a look at this tutorial:
Its about DrivingDirections.
In there you'll find a line:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. this.myDD = new DrivingDirection(from_pos, from_name, to_pos, to_name);
Parsed in 0.034 seconds, using GeSHi

If I remember right, you can pass [font=Lucida Console]null[/font] to [font=Lucida Console]from_pos[/font] and [font=Lucida Console]to_pos[/font] and then pass a Location-describing String to the other params.
But I would not expect it to work very well. As the GeoCoder is not yet working properly.

Image | Android Development Community / Tutorials
User avatar
Site Admin
Site Admin
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests