DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 4 of 4

Thread: Assigning app to search hardware button?

  1. Junior Droid
    jb265536's Avatar
    Member #
    22003
    Join Date
    Jan 2010
    Posts
    10
    Phone
    Motorola Droid
    #1

    Assigning app to search hardware button?

    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. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Senior Droid
    kevin@teslacoilsw's Avatar
    Member #
    75462
    Join Date
    Jun 2010
    Posts
    108
    Phone
    N1, Droid, DInc, Droid X
    #2
    [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 by kevin@teslacoilsw; 07-02-2010 at 07:42 AM.
  4. Junior Droid
    jb265536's Avatar
    Member #
    22003
    Join Date
    Jan 2010
    Posts
    10
    Phone
    Motorola Droid
    #3
    that would be awesome
  5. Senior Droid
    kevin@teslacoilsw's Avatar
    Member #
    75462
    Join Date
    Jun 2010
    Posts
    108
    Phone
    N1, Droid, DInc, Droid X
    #4
    I give you GestureLongSearch!

    APK File
    http://teslacoilsw.com/android_misc/...LongSearch.apk

    Source Code
    http://teslacoilsw.com/android_misc/...Search_src.zip

    There's no launcher for it. Just long press search and you'll be able to select it.

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. disable the search button
    By zzpianoman in forum Droid Hacks
    Replies: 14
    Last Post: 09-08-2010, 10:26 AM
  2. Assign Hardware Button
    By msmojorisin in forum Motorola Droid
    Replies: 11
    Last Post: 09-03-2010, 11:15 AM
  3. Set search button to gesture search?
    By vinnard in forum Droid Hacks
    Replies: 1
    Last Post: 03-03-2010, 09:27 PM
  4. search button app
    By manilaboy1vic in forum Android Applications
    Replies: 0
    Last Post: 01-07-2010, 06:20 PM
  5. Hardware Button changer App
    By Salvoroni in forum Android Applications
    Replies: 1
    Last Post: 12-17-2009, 04:47 PM

Search tags for this page

android assign app search button
,
android assign app to hardware button
,
android assign buttons
,
android change defualt hardware button behavior
,

android change search button

,
android hardware search button bing
,
android reprogram hardware buttons
,

android reprogram search button

,

android search button intent

,
android search button program
,
app assign search key on android
,
change android default search button
,

change android search button

,

change search button android

,
how to change my search button on my droid x
Click on a term to search our site for related topics.
Find us on Google+