Got it!
http://developer.android.com/reference/android/location/Geocoder.html#getFromLocationName%28java.lang.String,%20int,%20double,%20double,%20double,%20double%29

On Feb 2, 3:03 pm, Rastislav Hodul <[email protected]> wrote:
> Thanks. I'm looking at it, but can't see any example of search.
>
> Rastio Hodul
> [email protected]
>
> 2010/2/2 Rogério de Souza Moraes <[email protected]>:
>
> > Hi,
>
> > did you looked at the code MJAndroid? Download it at
> >http://examples.oreilly.com/9780596521509/
>
> > It's a good example for you!
>
> > Regards,
>
> > Rogerio
>
> > 2010/2/2 gnugu <[email protected]>
>
> >> Ok, this will do the search:
>
> >>    private void searchOnMap(String search) {
> >>        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:0,0?
> >> q=" + search.replace(" ", "+")));
> >>        this.startActivity(intent);
> >>    }
>
> >> No I need to get back long/lat of selected Costco. Any way? Anybody?
>
> >> On Feb 2, 2:09 pm, gnugu <[email protected]> wrote:
> >> > Or better yet, would it be possible to invoke Google Maps from my
> >> > application, do the search there and have it return lat/lng back to
> >> > me?
>
> >> > When user clicks on a search result several options like Show on Map/
> >> > GetDirections etc a re presented. Could I insert my own option there?
>
> >> > On Feb 2, 1:57 pm, gnugu <[email protected]> wrote:
>
> >> > > Hi,
> >> > > I'm adding MapView to my app and I would like the user to be able to
> >> > > search for location just like in Google Maps app.
>
> >> > > Is there any way to do it?
>
> >> > > Thanks.
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" 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/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" 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/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to