File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes How can i search a location in google map? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How can i search a location in google map?" Watch "How can i search a location in google map?" New topic
Author

How can i search a location in google map?

fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
I want to search a location in google map and show the location in map. but i don't know how can i do this. I read link this link but he writes very hard code and i don't understand this. Please help me
Cheers
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42356
    
  64
If you want to embed the map view in your app, then this example code should get you going: https://developers.google.com/maps/documentation/android/hello-mapview

If it's sufficient to have the search and display handled by the Google Maps app, then this might be all that is needed:

More on that can be found here: http://mobile.tutsplus.com/tutorials/android/android-sdk-quick-tip-launching-maps-in-app/


Ping & DNS - my free Android networking tools app
fahimeh hashemian
Ranch Hand

Joined: Aug 07, 2012
Posts: 84
I want to create a text box and GO button for search, and anything writes in textbox, the program searches in map and show the location. but i think the link and intent way not true for my solution. What should i do?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42356
    
  64
It is exactly applicable; please read the article I linked to.
kalai sundar
Ranch Hand

Joined: May 25, 2005
Posts: 69
Check out http://findmylocation.info/ to see java based geo location service.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i search a location in google map?