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. Cannot install apk of huge size

Hi everyone
          I have an issue with installing an apk of size 72 MB onto
devices like Samsung Galaxy i7500 and Nexus One .The entire size of
the application is 256 MB.The devices have enough memory say 600MB on
samsung galaxy.But still it does not install saying there is
insufficient storage.
   Do the apk file gets uncompressed to the size of application after
installing.I mean if i am installing this 72 MB apk does it take 256
MB space of apllication.Does it work somewhat like a .zip file?
   Please give me a solution as to why even after having enough memory
i cant install the apk?



2. VLC RTSP MPEG-4 stream to Android emulator.

Hello everybody,

I'm looking to see if I could you use the android sdk to develop a
RTSP media player and test it on android emulator.
I'll be use VLC for streaming the MPEG-4 content via RTSP. For
streaming I'll be use a MP4 file format that stores a MPEG-4 SP/AAC
video stream. As far as I understood the older versions of the android
emulator did not worked properly. The current version has the same

Looking forward to hearing from you soon.

Thank you.


3. Cannot share audio file by MMS, and how to solve this case?

4. loading an html file from local res directory

5. settings - is this a ListView ?

6. GREF count going to 301

7. fail to prepare with MediaRecorder