Android 2.0 Suppress local search on key event

by JP » Fri, 30 Oct 2009 13:06:19 GMT

Sponsored Links
 One of my apps implements a search function which is invoked when the
user presses the Search button.
In 1.6, Android Quick Search Box can be suppressed by overriding
Activity.onKeyDown() and picking out KEY_SEARCH.
On Android 2.0, no more... Android's Quick Search pops up no matter
whether Activity.onKeyDown(), Activity.onKeyUp() is overridden, or
Activity.setDefaultKey(DEFAULT_KEYS_DISABLE) is set.

Has anybody had any luck getting rid of the Android Quick Search?


Other Threads

1. How to implement Ticker

Hi ,

I would like to implement a ticker in my application but, I cant find Ticker
in Android SDK 1.0.
I tried marquee in latest release but it work only on focus.

 Please Help If any one have done this before.

Thanks in Advance.

~Ankit Somani


2. The current version of ADP1

I have an ADP1 with this software version:
Firmware version: 1.0
Baseband version:
Kernel version: 2.6.25-01843-gfea26b0 android-bu...@apa27#6
Build number: dream_devphone-userdebug 1.0 Unlocked 116222 test-keys

Which is the current version? And how can I obtain it? I think that my
version is very old, because I can`t see some of the applications on
the market.



3. How to Thump? Name of Haptic Trigger.

4. How to compile G1 apps code

5. Developing an app using a retail phone

6. Rolodex View

7. Where to put xml file????