1
在我的應用程序中,我必須檢測撥出電話是接受還是斷開連接或振鈴。我通過這些職位去:是否可以知道在Android中是否接受撥出電話
- Is there any way to know if an outgoing call is accepted?
- Cannot detect when outgoing call is answered in Android
- how to get the state for outgoing calls
- How to identify the ringing state of outgoing call in android
- Out going call answered state in Android 2.2+
但是,這些職位給一個合適的回答。我使用的是Android內部類com.android.internal.telephony.CallManager
,但我只能瞭解電話狀態是否空閒。
其實我怎麼會用lastState variable.means我必須存儲它靜態或sharedpreference..canüPLZ告訴我深刻? –
這不是我的答案。這個條件不滿足得到振鈴狀態或接受狀態。 –