jelly bean search key
Asked Answered
G

2

6

In my Android app I enable my specific app-search to be triggered via the search key in a number of my activities using this mechanism from the manifest

    <meta-data 
        android:name="android.app.default_searchable"
        android:value=".Search.SearchActivity" />

with the appropriate search activity. This all worked fine until recently.

With the Jelly Bean update the Search Key now always starts Google NOW search functionality.

On this site: http://www.android.com/about/jelly-bean/ I found in the "Google Search" section this statement:

"For devices with a hardware search key, you can tap it to launch Google Search."

Has Google taken over all use of this key completely, or is there a way to recover it?

If I can't recover it, then it's UI design changes in almost all activities to add a Search menu option or action button....

Gwen answered 13/8, 2012 at 9:22 Comment(0)
S
2

This has been done specifically to circumvent patent issue. This has been mostly done only in USA, where apple recently got an injunction on galaxy nexus. So all Android phones in USA will show this behavior from now on. So most of the apps in jelly bean have a on screen search button.

Snyder answered 13/8, 2012 at 9:33 Comment(1)
OK, so to all intents and purposes: "This is how it is from now on, deal with it". I have added the search button on-screen in most of my Activities. Thanks.Gwen
L
1

If you have a cyanogenmod based phone (e.g. jellytime for HTC DHD like me), the old behaviour is only a setting away:

Menu/Systemsettings/System/Hardware keys/Search/In-App-Search

But this change wasted quite some of my time for debugging my app and researching to find this solution. Needless to say I hate patents, especially ridiculous ones: obvious behaviour like an OS sending a hardware key event to an application can be patented???

Leibniz answered 23/5, 2013 at 15:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.