Is is possible to receive a button press , long press , or continuous presses via bluetooth? Can this be handled with KeyEvent?
Asked
Active
Viewed 1,173 times
0
-
Make it clear, what exactly do you want to achive? – Rohit Nov 18 '11 at 12:22
-
Well, i want to trigger an activity by long pressing the call button on a bluetooth headset! – dothedos Nov 18 '11 at 14:36
-
1See my answer to: http://stackoverflow.com/questions/7792636/in-android-java-how-do-i-catch-long-press-on-bluetooth-device-call-button/ – Dirk Bergstrom Dec 18 '11 at 06:41
1 Answers
0
It depends on the brand/model of the bluetooth headset. Check specific vendor headset API to see if long press event is supported (most only support single-press only).

Samuel Liew
- 76,741
- 107
- 159
- 260
-
Is it an issue of the headset then , and not the programmer to handle these events? – dothedos Nov 18 '11 at 15:44
-