有谁知道什么是意图未接来电。其实我想发送短信的未接电话和进来的电话在我的应用程序。
Does anyone know what is the intent for missed call. Actually i want to send sms on missed call and incomming call in my application.
有没有具体的播出一个未接来电,AFAIK。
There is no specific broadcast for a missed call, AFAIK.
您可以看的 ACTION_PHONE_STATE_CHANGED
广播,等到从 EXTRA_STATE_RINGING 到
EXTRA_STATE_IDLE
,然后尝试检查 CallLog
内容提供商,看看呼叫被错过。我还没有尝试过这种方法,但它可能工作。
You can watch for ACTION_PHONE_STATE_CHANGED
broadcasts, wait until the phone shifts from EXTRA_STATE_RINGING
to EXTRA_STATE_IDLE
, then try checking the CallLog
content provider to see if the call was missed. I have not tried this technique, but it may work.