Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i search a location in google map?

 
fahimeh hashemian
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
fahimeh hashemian
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is exactly applicable; please read the article I linked to.
 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out http://findmylocation.info/ to see java based geo location service.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic