You are welcome. Now as for your handset beep: there is no API in the android.bluetooth packet for generating the headset beep on a remote device. The best you can hope for is that the headset manufacturer publishes a protocol for setting this using the RFCOMM a.k.a. SPP link to the device. But I have never seen a Bluetooth headset that does this.
But you should also look at https://sites.google.com/a/android.com/opensource/projects/bluetooth-faq On Dec 23, 9:51 pm, Jags <jag...@gmail.com> wrote: > Thanks a ton IV, I am happy as long as I get some relevant > solution :) . > > 1. Beep, means I did not mean default handset beep. I meant in my > custom application i play a sound. if my hedset is paired when i am > playing the sound in my custom application using Mediaplayer class, > will it be heard in my headset ? > > 2. will i be able to capture volume up/down key press in the headset > in my application ? if yes how ? > > regards > > On Dec 24, 5:53 am, Indicator Veritatis <mej1...@yahoo.com> wrote:> Yes, that > is right. You did not get your point across properly. You > > are doing better in this post, though, despite the disappointing typo > > of '[oint' for 'point'. > > > But if you do know that the beep is "at headsets[sic] control", why > > you even asking where it is? That makes no sense. > > > The truth of the matter is that the Bluetooth spec does not mandate > > the beep. The implementer may chose to do it in the headset software, > > as it is the only choice that makes sense: otherwise the user gets no > > audio feedback to know that pairing just happened. The only feedback > > that the Android application gets is that now the headset is listed in > > the list of bound devices returned by getBondedDevices(). > > > That is, you can sense when the headset was paired by polling > > getBondedDevices(), but you cannot cause the beep, nor can you sense > > when the headset does its own beep. You can only rely on what the > > headset manufacturer chose to implement in their own Bluetooth code. > > > On Dec 22, 9:52 pm,Jags<jag...@gmail.com> wrote: > > > > thanks IV, > > > > I guess i could not put my [oint across properly. Beep is at headsets > > > control, i know. Now when the headset is paired, and my custom > > > application plays a beep, does it automatically beep in the headset or > > > in the handset ? if it automatically beeps in the headset, good, if > > > not what can i do in my custom app to make the beep heard in the > > > headset ? > > > > more to that i also need to capture some keypress volume up and down > > > from the headset in my application > > > will I be able to do that in my application ? how ? documentation is > > > not clear on this ! > > > > thanks and regards > > > Jagat > > > > On Dec 17, 10:57 am, Indicator Veritatis <mej1...@yahoo.com> wrote: > > > > > I don't know why this thread is getting spam, but I can offer a guess > > > > why you are not getting answers. Your questions seems to strongly > > > > imply you have not studied the basics of how to do Bluetooth (whether > > > > on Android or not). Specifically, the beep you are interested in > > > > controlling is under the headset's control: it is NOT controllable > > > > from Android. Nor should it be, so don't wait for it to be added in a > > > > future version. > > > > > On Dec 16, 1:21 am,Jags<jag...@gmail.com> wrote: > > > > > > is this message a spam ? Nobody is able to see my message or what ? > > > > > dont get answers, only get spams posted in the forum ! > > > > > > On Dec 16, 11:03 am, "hanika" <han...@securitywall.in> wrote: > > > > > > > hi > > > > > > > Thanks & Regards, > > > > > > cid:image002....@01CA2AEF.10F60770 > > > > > > Vijay Patel > > > > > > Test Engineer > > > > > > Elitecore Technologies Ltd. > > > > > > 904, Silicon tower, off C.G Road, Ahmedabad-380 006 Gujarat (INDIA), > > > > > > Tel: +91-79-66065606 | HYPERLINK > > > > > > "mailto:vijay.pa...@elitecore.com"vijay.pa...@elitecore.com > > > > > > HYPERLINK "http://www.cyberoam.com"www.cyberoam.com > > > > > > P Please do not print this email unless it is absolutely > > > > > > necessary. > > > > > > Spread environmental awareness. > > > > > > > image001.jpg > > > > > > 2KViewDownload > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en