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
2
votes
0 answers

SearchManager with special characters

I'm using SearchManager to search for words in a database. It works fine with standard letters, but when using language specific letters (č,ž,š), it only finds the word if the letter is in the middle of the word. If the letter is in the beggining of…
domen
  • 1,239
  • 3
  • 15
  • 26
2
votes
0 answers

Check if global searchable has been enabled by user

I'm developing an Android app which provides a search interface to be used both locally and globally. In order for the custom interface to appear in the system's Quick Search Box, the user has to explicitly enable it in the Search settings, which…
Takhion
  • 2,706
  • 24
  • 30
1
vote
0 answers

How do you use the results and suggestions from globalsearch in your own View?

Is it possible to call the globalsearch in Android and use the results and suggestions in your own searchbar/resultsrceen (SearchView). This is for a homescreen replacement so I dont't have to search my own data but just everything else on the…
1
vote
1 answer

Hide search provider from google search app?

I have multiple search providers in my app. The thing with search providers is that they appear in the google search app/widget. Is there anyway to only display one of these providers instead of all of them? =)
Richard
  • 14,427
  • 9
  • 57
  • 85
1
vote
0 answers

How to do search Functionality after parsing the data in ListView in android?

I am making an small application in android. In this I parsed the XML data with SAX parser in ListView Now the Parsed data is shown in the list. Now I want to do search Functionality in this means for example I have to made searchable functionality…
Amandeep singh
  • 1,865
  • 7
  • 21
  • 41
1
vote
0 answers

How to determine if ContentProvider is being called from Global Search?

I'd like to change the results of my typeahead provider for my app slightly when it is being called in the global search as opposed to the in app search. How can I determine if it is called by the global search?
awetawef
  • 21
  • 2
1
vote
1 answer

When I press the hardware search button, the search bar and keyboard appears. How to 'press the search button' from code?

I've created a searchable activity as described here: http://developer.android.com/guide/topics/search/search-dialog.html. When the user presses the hardware search button, it shows a search bar in the top and keyboard in the bottom. How can I get…
Marmoy
  • 8,009
  • 7
  • 46
  • 74
1
vote
2 answers

quick search within app in android?

I have a application already working fine. I need to implement a quick search feature to it. Quick search i mean as the users types in every single character i want to result to be fetched. My Activity is a list activity for which the data is coming…
Vinod
  • 31,933
  • 35
  • 96
  • 119
1
vote
0 answers

Search Arabic custom listview

I have a custom listview which has Arabic strings.I want to search for a specific view (row) in that listview .I use addTextChangedListener in my main activity like below editsearch = (EditText) findViewById(R.id.search); …
1
vote
0 answers

Resize search results thumbnail (using glide)

In my app, I have a SearchManager search widget. When the user types, matching results show in the dropdown. I can put a thumbnail with these results using: SearchManager.SUGGEST_COLUMN_ICON_1 The images come from my server so I use the glide…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
1
vote
1 answer

Programmatically launch a SearchView (Android)

I'm using a SearchView widget to perform a search which includes the query and some other information from CheckBoxes. I followed the guide for using the SearchView widget and it works great - but because I have additional info to add to the search,…
bluesummers
  • 11,365
  • 8
  • 72
  • 108
1
vote
3 answers

How to define an activity for the Search Button?

I am not using a SearchManager, but I have built my own custom search activity. I want this to be shown when the user clicks on the Search button. How can I do this?
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
1
vote
2 answers

ListView not updating after Search using SearchView in android

I am trying to develop an app which will have a SearchView.I have successfully implemented the logic for filtering the results and updating in ListView.But When i am cancelling or closing the search ,the data on the ListView is not reverted back to…
Rushi Ayyappa
  • 2,708
  • 2
  • 16
  • 32
1
vote
0 answers

Android Search widget showing suggestions on second character, need to show one user clicks the search view

I am trying to map a arraylist of strings to searchview adapter using a custom adapter. I have tried so many links, everything is working fine except that the suggestions layout is coming when user types the second character. I want to show the…
1
vote
0 answers

How do I inform the search suggestions view of the DPI of my images displayed as thumbnails?

I have an activity which uses the Android search and the auto search-suggestions capability. The thumbnails I am using in my activity are all stored on the SD card (there's a lot of them) and are all in MDPI resolution. When using them in my…
Joseph Earl
  • 23,351
  • 11
  • 76
  • 89