answer for call

Activity Lifecycle, Saving Activity State, Managing Tasks, Intent, Intent Filter
Ответить
DedSamogon
Сообщения: 3
Зарегистрирован: 28 сен 2016, 21:34

answer for call

Сообщение DedSamogon » 28 сен 2016, 21:38

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

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

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).
Спасибо.

DedSamogon
Сообщения: 3
Зарегистрирован: 28 сен 2016, 21:34

Re: answer for call

Сообщение DedSamogon » 26 окт 2016, 19:32

Up

Ответить