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 to add a google search option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to add a google search option" Watch "how to add a google search option" New topic
Author

how to add a google search option

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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.)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to add a google search option
 
Similar Threads
how to use distanceBetween built in methog
It prints me pointer repeatedly
Need to get more zoom picture at loading first time
street view & satilite view is not working
is there any way to trigger onLocationChanged other than moving