Yes, simply google for headset example and you'll find source code you can modify.
On 03/08/2011, Ankit Maheshwari <[email protected]> wrote: > Hi , > We see that when we press the button on the A2DP headphone > automatically the music player launches , is it possible to fire any > other application using it ,or can we control thic clicks action when > are application is running . > > the scenario is that i am using speech recognition i want to put that > in sleep mode and as soon as the user click the headset > button(bluetooth or A2DP) the voice recognition activity is fired . > is it possible ?? any kinda help will be really appreciated . > > > Thnx > Ankit > > -- > 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 -- 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

