Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add a google search option

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my application.it works fine.There is a search option which search the any location and show it on the map.I need to add the google search option to it.Is it possible ?



 
Tim Moores
Bartender
Posts: 2790
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best practice on Android is not to implement your own custom search, but to hook into the system-wide search: http://developer.android.com/guide/topics/search/adding-custom-suggestions.html. Otherwise your app will feel like it doesn't integrate well into Android. (The system-wide search, of course, is already hooked up to Google search.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic