Questions tagged [android-searchmanager]

Search Manager Class Provides access to the system search services.

Search Manager class provides access to the system search services.

In practice, you won't interact with this class directly, as search services are provided through methods in Activity and the ACTION_SEARCH Intent. If you do require direct access to the SearchManager, do not instantiate this class directly. Instead, retrieve it through context.getSystemService(Context.SEARCH_SERVICE).

Useful links

154 questions
8
votes
2 answers

Using a web URL for SUGGEST_COLUMN_ICON_1 for Search Suggestions

I have a SearchManager setup where a suggestions dropdown will display as the user types. The results are from my server (http). I would like to display an icon with each option (if the file in fact does exist). Looking at the docs, I see the…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
8
votes
1 answer

Android searchview's suggestion from the network

I have a SearchView in the Actionbar and I want the suggestion to be fetched from a service. I have seen a sample in the android Samples Searchable Dictionary. but it is loading the results from a local database. I got that, it is necessary to use…
user1687810
  • 85
  • 2
  • 6
8
votes
1 answer

Show SearchWidget in ActionBar if user presses the device's search button

I set up a SearchWidget as described in the Android API Guide. It properly displays a magnifying glass icon in the Action Bar and if I click on it, it launches the search widget within the Action Bar (an input field with dark background). However,…
Michael Osl
  • 2,720
  • 1
  • 21
  • 36
7
votes
5 answers

android pass bundle with search

Hello i am using android 3.0 search widget(not the search mode), the problem is i need to pass some parameters along with the search word. Android isn't calling any of these searchManager.setOnDismissListener( new OnDismissListener() { …
max4ever
  • 11,909
  • 13
  • 77
  • 115
7
votes
1 answer

Open global search as overlay

I am writing a launcher and want to be able to open up a search as an overlay rather than full-screen in the Google App. So far I only found a way to open the search in the Google App full-screen as follows (taken from AOSP Launcher3 source code): …
timothyjc
  • 2,188
  • 3
  • 29
  • 54
7
votes
2 answers

Changing ActionBar and SearchView backgrounds

I was trying to use the Holo Light theme with dark action bars as recommended on android guidelines. This is my themes.xml file: