views:

206

answers:

1

Hi,

 can anyone know what is the intent for missed call. Actually i want to send sms on missed call and incomming call in my application. 
+1  A: 

There is no specific broadcast for a missed call, AFAIK.

You can watch for ACTION_PHONE_STATE_CHANGED broadcasts, wait until the phone shifts from EXTRA_STATE_OFFHOOK 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.

CommonsWare