Filter-Search Applications

by friedger » Fri, 12 Sep 2008 16:46:57 GMT

Sponsored Links

I try to add filter search to my application, query search works fine.
I can type in a search term press enter and the result is presented.
However, I don't get a new intent when I change the search term.

(from doc of SearchManager: You will receive a new ACTION_SEARCH
Intent each time the user enters or changes the search text. You must
receive and handle these new intents by overriding onNewIntent.)

I added the filterMode bit but nothing happens. What else do I have to
do in order to enable filter search?

Here is my
search xml:

<searchable xmlns:android="" ;

and the manifest xml:

<activity android:name=".MainActivity"
                <action android:name="android.intent.action.MAIN" />
android:name="org.openintents.category.MAIN" />

android:name="android.intent.action.SEARCH" />
android:name="android.intent.category.DEFAULT" />
                        <meta-data android:name=""
                                android:resource="@xml/searchable" />


Filter-Search Applications

by friedger » Sat, 13 Sep 2008 03:45:04 GMT

 Has anyone experience with filter search?


Sponsored Links

Filter-Search Applications

by Andrew Stadler » Sat, 13 Sep 2008 09:07:42 GMT

 nfortunately, Filter search (as defined in the SearchManager
documentation) is no longer supported, but the changes did not make it
into the 0.9 SDK documentation. The updated documentation will be
available in the next SDK release.

If you would like to support live (filter-as-you-type) search, there
are now two alternatives available (and these *are* available in the
0.9 SDK).

* If you wish to filter the data displayed in a local presentation,
say in a ListView, you'll want to look into using
android.widget.Filter, which can be applied to any of the classes that
implement android.widget.Filterable.

* If you wish to use the SearchManager UI, you can implement a
Suggestions Provider which provides a list of potential answers as the
user types. This UI is often used to display a filtered list of
recent search queries, but you could also use it to display a filtered
list of actual results.

Regarding what you are seeing on your application, if you wish to use
the Search Manager, I would suggest removing the filtering mode
flag(s) and see if normal query search is working for you.

Apologies for any confusion with the older documentation.

(Google engineer)

On Fri, Sep 12, 2008 at 1:46 AM, friedger <[EMAIL PROTECTED]> wrote:


Other Threads

1. ADP 1 - Planning to buy ... but ... Voice Recognition , Does it work & How ?

Android has a speech recognizer ( SREC ).
You can find documentation for this application in google.



2. App Android Compiler... to android

hey guys  you know a compiler to android to use in android? like a one

Example.... i create a in googlenotes download to my sd
card (in my smartphone) and runs a app compiler(on my smarthphone) and
generate my bytecode to dalvik and... BINGO xD i create my app for
android on android ( xD remember tiger on tiger? xD)

sorry my horrible english xD
Marcelo Machado

3. I can't see anything on the webview control

4. customized radiobutton

5. Rencana Besar [WTA] Push Mail

6. get checked items form list

7. ADC2 entry: MultiBubbles