The Following 2 Users Say Thank You to biketool For This Useful Post: | ||
|
2012-06-11
, 15:15
|
Posts: 1,424 |
Thanked: 2,622 times |
Joined on Jan 2011
@ Touring
|
#2
|
|
2012-06-11
, 15:42
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#3
|
The Following User Says Thank You to misiak For This Useful Post: | ||
|
2012-06-12
, 08:36
|
Posts: 1,424 |
Thanked: 2,622 times |
Joined on Jan 2011
@ Touring
|
#5
|
|
2012-06-12
, 08:39
|
Posts: 1,424 |
Thanked: 2,622 times |
Joined on Jan 2011
@ Touring
|
#6
|
|
2012-06-13
, 11:18
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#7
|
Thanks, I am looking at that now, a great lead. The problem is I am waiting for my replacement N900 to arrive and cant experiment. Can you see a answer button press on you BT headset with os.popen without mucking with dbus?
The Following User Says Thank You to wook_sf For This Useful Post: | ||
|
2012-06-13
, 13:33
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#8
|
The Following User Says Thank You to gionni88 For This Useful Post: | ||
|
2012-06-13
, 14:01
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#9
|
When wired or bluetooth button is pressed a system dbus signal is emitted. On n900 if I don't remember wrong the wired button is disabled but you may enable it just with an amixer command. You don't need anything else, just to enable the wired button and listen to dbus events.
The Following 3 Users Say Thank You to misiak For This Useful Post: | ||
|
2012-06-14
, 14:52
|
Posts: 1,424 |
Thanked: 2,622 times |
Joined on Jan 2011
@ Touring
|
#10
|
So it doesn't matter whether the headset is wired or wireless (bluetooth), the dbus signal will be the same? If yes, I can come up with minimalistic C and Python example for you taxizo, as I have wired headset (but I don't have any wireless, so I'm only able to test with wired one).
edit:I'm up for writing a simple example, give me few hours
For this app to be fully useful to people who need hands free voice interaction with their device the answer button needs to work outside of answering/ending phone calls with both the wired headset and more importantly the Bluetooth headsets much as it does on phones with voice dialing. Most of the work appears to have been done for wired headsets with these packages:
*Headset Button Enabler - enables wired headset to be used outside calls
*Headset Control - uses wired headset to control Media Player
These apps are designed for pausing and starting the media player but need to be accessable to Python which Saera is written in, and more importantly also need to include the more common bluetooth headsets which does not appaer to be the case.
Saera is one of the killer apps car drivers, cyclists, and motorcycle drivers have waited for on Maemo/Meego.
the Saera thread is here http://talk.maemo.org/showthread.php?t=84753