call state
Moderator: Martin
call state
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.)
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
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.
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
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)
"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
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
Sorry for my English (Google translator)
in the program "Vibralert" it works correctly
Re: call state
Yes, correct.
Must be:
Outgoing Call
- Off-hook
- Answered
- Ended
Must be:
Outgoing Call
- Off-hook
- Answered
- Ended
Re: call state
me too need option "Answered" in trigger "Outgoing Call"
Sorry for my English (Google translator)
Sorry for my English (Google translator)
Re: call state
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
Android does not natively support the state "Answered":
See http://developer.android.com/reference/ ... nager.html
Re: call state
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
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
Re: call state
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>
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
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.
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.