Getting street name out Addresss

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Getting street name out Addresss

Postby galip91 » Tue Nov 23, 2010 10:52 am

Hi guys,

I have this simple app which gets your location and shows it on the screen.

So I call the function getFromLocation(lat, lng, maxResults); and i get an List<Address>.

Then i call address.getPostalCode(); address.getLocality etc.

This all works.

Now my question.

I can't seem to get the street name of the location.
I tried getThoroughfare() and other options, but they return null.

How can I get the street name (like: "Potterstreet 12") out of Address?
galip91
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 11, 2010 1:13 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests