Страница 1 из 1

answer for call

Добавлено: 28 сен 2016, 21:38
DedSamogon
Привет всем.
Подскажите, как-то вообще реально отследить ответ со стороны вызываемого номера?
гуглил и нагуглил:

Код: Выделить всё

ACTION_CALL

Added in API level 1
String ACTION_CALL
Activity Action: Perform a call to someone specified by the data.

Input: If nothing, an empty dialer is started; else getData() is URI of a phone number to be dialed or a tel: URI of an explicit phone number.

Output: nothing.

Note: there will be restrictions on which applications can initiate a call; most applications should use the ACTION_DIAL.

Note: this Intent cannot be used to call emergency numbers. Applications can dial emergency numbers using ACTION_DIAL, however.

Note: if you app targets M and above and declares as using the CALL_PHONE permission which is not granted, then attempting to use this action will result in a SecurityException.

Constant Value: "android.intent.action.CALL"
Вроде бы как ничего не возвращается. Но система же где-то фиксирует (кроме logcat).
Спасибо.

Re: answer for call

Добавлено: 26 окт 2016, 19:32
DedSamogon
Up