Page 1 of 2

call state

Posted: 14 May 2013 18:18
by tonick
Please add a option in trigger call state Outgoing call answered and Incoming call answered.

for example, alert (vibrate or sound) when Outgoing call is answered, as is done in Vibralert Pro (https://play.google.com/store/apps/deta ... QucHJvIl0.)

Re: call state

Posted: 16 May 2013 08:45
by plm
The method is already there, if I have correctly understood your needs...

Trigger: Outgoing Call (or Incoming Call) - Phone State= Off-hook
Action: Vibrate
This flow make the cell vibrate when you push the button to call (or answer an incoming call)

Trigger: Outgoing Call (or Incoming Call) - Phone State= Ended
Action: Vibrate
This flow make the cell vibrate when you terminate the outgoing or incoming call

Hope this help you.

Re: call state

Posted: 16 May 2013 10:20
by colabi
I requested this too, long time ago.

"is already there" - no, is not: the trigger
must detect when outgoing call is ANSWERED
(vibrate when the persson you call answer)

Re: call state

Posted: 16 May 2013 10:35
by tonick
I need to vibration has been triggered at the moment when the person answers the call, but not when I press the call button.
Sorry for my English (Google translator)
in the program "Vibralert" it works correctly

Re: call state

Posted: 16 May 2013 12:16
by colabi
Yes, correct.
Must be:
Outgoing Call
- Off-hook
- Answered
- Ended

Re: call state

Posted: 17 May 2013 06:25
by breeze
me too need option "Answered" in trigger "Outgoing Call"
Sorry for my English (Google translator)

Re: call state

Posted: 17 May 2013 22:37
by plm
It would be interesting to know how VibrAlert realizes the function ... besides requiring a root cell.
Android does not natively support the state "Answered":
See http://developer.android.com/reference/ ... nager.html

Re: call state

Posted: 23 May 2013 09:19
by inReinbek
Hi all !

There's no chance to get an information about an outgoing-call will be answered or not - there's no support by the network to inform your android, if the state is "connection" or just an "unanswered outgoing call".

Technical description:
The network is able to detect the state by itself and cancels a "try to connect" if the call will be unanswered. The "try to connect is positive" (= call is answered) will be processed by setting up a cell-voice-connection ... the "try-to-connect" is a smaller part of cell-connection than a voice-connection.

Hope you're be able to "uncrypt" my bad english :mrgreen:

Re: call state

Posted: 09 Aug 2013 01:03
by colabi
Hi Martin

I found this file in my LG P970 (maybe is usefull):

/data/data/com.lge.launcher2/shared_prefs/incallbubble.history.xml

when the call state is idle the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<long name="Current Time" value="0" />
<string name="Current State">IDLE</string>
<null name="Current CallerID" />
</map>

when the call state is ringing the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="Current State">ALERTING</string>
<long name="Current Time" value="82611466" />
<string name="Current CallerID">xxx</string>
</map>

when the call state is answered the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="Current State">ACTIVE</string>
<long name="Current Time" value="82531546" />
<string name="Current CallerID">xxx</string>
</map>

Re: call state

Posted: 09 Aug 2013 05:14
by MURTUMA
That would be only useful in LG phones featuring the same home launcher.

Which reminds me, I'll check if there's such thing in SGS+.

Edit: Neither the original Touch Wiz or Smart Launcher has that written in anywhere in their files.