Notices


Reply
Thread Tools
Posts: 176 | Thanked: 59 times | Joined on Mar 2010
#1
Getting sooo annoyed with the ongoing bug where the screen either blacks out or flips from portrait to landscape and back, while the phone is ringing and it's impossible to answer the call.

On my device, it's been a problem since before - and after - PR 1.2.

Is it possible to map a hard key to trigger Call Answer ?

Perhaps the camera key ?
 

The Following 3 Users Say Thank You to SallyJane For This Useful Post:
daddeddad's Avatar
Posts: 89 | Thanked: 84 times | Joined on Jan 2010 @ Finland
#2
Would be awesome.
+1
 
Posts: 89 | Thanked: 31 times | Joined on Mar 2010
#3
+1 . Me too!
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#4
It's doable with the camera key. Install shortcutd and set the trigger to a custom command.

The call you'll want to run is;

dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer

You'll need to intercept the camera button for a full depress.

It would be much nicer if it was possible to pickup/hangup using the power button since it's a single stage button but from sniffing dbus, nothing seems to trigger when it's pressed unfortunately.

Last edited by hawaii; 2010-06-27 at 21:05.
 

The Following 2 Users Say Thank You to hawaii For This Useful Post:
Posts: 58 | Thanked: 14 times | Joined on Jan 2010
#5
totally agree
 
Posts: 89 | Thanked: 31 times | Joined on Mar 2010
#6
Originally Posted by hawaii View Post
set the trigger to a custom command.

dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer
Can I just copy-paste this as is?
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#7
Originally Posted by oved_etzot View Post
Can I just copy-paste this as is?
Probably easier to save it as a script and then call the scrip instead.

Code:
#!/bin/sh

dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer
into answer_call.sh in /usr/local/bin, chmod +x it and set the custom command to "/usr/local/bin/answer_call.sh" and restart shortcutd.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#8
Originally Posted by hawaii View Post
It's doable with the camera key. Install shortcutd and set the trigger to a custom command.

The call you'll want to run is;

dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer

You'll need to intercept the camera button for a full depress.

It would be much nicer if it was possible to pickup/hangup using the power button since it's a single stage button but from sniffing dbus, nothing seems to trigger when it's pressed unfortunately.
It doesn't work for me
Power button would be indeed much better.
 
Posts: 75 | Thanked: 35 times | Joined on Jun 2010 @ United States
#9
I'd say the volume down button works best.. if it were possible to just have it answer calls with one press, and anything after that would just be it's basic function - volume down.


but.. I don't even know if that's possible.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#10
That would be handy, too!
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:44.