1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Assigning app to search hardware button?

Discussion in 'Android Hacks and Help' started by jb265536, Jul 1, 2010.

  1. jb265536
    Offline

    jb265536 New Member

    Joined:
    Jan 1, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Using a Droid with Froyo Bugless Beast 0.4. Wondering if the gesture search app (or other apps) could be assigned to the search button in the lower right corner? I'm interested in hitting the button and have the app open. Any suggestions or thoughts?
  2. kevin@teslacoilsw
    Offline

    kevin@teslacoilsw New Member

    Joined:
    Jun 7, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    0
    [edit]Just noticed this was for the search single press, not long press. That's a different story, sorry.[/edit]

    In order for an app to appear when you long press the search button it must have an intent filter like:
    Code:
                <intent-filter>
                    <action android:name="android.intent.action.SEARCH_LONG_PRESS" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter> 
    in the AndroidManifest.xml

    If you're interested in doing it yourself then I imagine if you just modding the Gesture search application and added this it would work. Alternatively it would be straight forward to write a program that has that intent filter and launches the program of choice (either hardcoded or cooler would be to have the user able to choose the application the first time it's used).

    If you want however I can quickly throw together an app hard coded for Gesture Search and post the APK and the source.
    Last edited: Jul 2, 2010
  3. jb265536
    Offline

    jb265536 New Member

    Joined:
    Jan 1, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    that would be awesome
  4. kevin@teslacoilsw
    Offline

    kevin@teslacoilsw New Member

    Joined:
    Jun 7, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    0
Search tags for this page
android assign hard button to app launch
,
android assign search button app
,
android hardware search key action
,
assign a hardware button to switch on app android
,
assign app to search button android
,
assign search button to another application
,
assign the droid search button
,
can you reassign the search button on galaxy 2 s
,

change android search button

,
change droid hard key search engine
,
gesturelongsearch
,
how to change default search engine on android hardware sear
,
how to program button search in android?
,
reassign search button for google android
,
reprogram search button android