ok I added the following lines to the <intent filter> of my manifest
file:
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<action android:name="android.intent.action.VOICE_COMMAND"/>

and then I added code to deal with the intents to the appropriate
class.

However when I run test the code I'm never prompted to pick a default
application. Long pressing the search button brings up the voice
search dialog box.

Is there something else I need to specify to say that my application
should be launched on a search button long press?
On Dec 14, 6:05 pm, neuromit <[email protected]> wrote:
> Thanks a million
>
> On Dec 14, 5:48 pm, Jake Basile <[email protected]> wrote:
>
>
>
>
>
>
>
> > I also just saw that android.intent.action.SEARCH_LONG_PRESS exists, so
> > maybe that's one you can use too.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to