iPhone - how to be notified of call completion

Posted by ecodan on Stack Overflow See other posts from Stack Overflow or by ecodan
Published on 2010-06-07T22:07:31Z Indexed on 2010/06/07 22:12 UTC
Read the original article Hit count: 244

Filed under:
|
|

Hi- I'm developing an application that needs to take action on completed phone calls, preferably right after the call ends but minimally once per day.

I've read up on the new CoreTelphony framework, and it seems I can get call events if my app is active, but I don't see how to launch/wake my app when a call ends if my app is not the foreground app. I also don't see how any of the new pseudo-background "modes" would allow my app to listen for these events in the background. Do any of you know how this might be done?

If post-call processing isn't possible, then I'd like to figure out a way to automatically wake my app up once per day, pull all of the call events since the last wakeup, and process them. I know how I might do this with Push or Local notifications, but my understanding is that those require user action to continue; in this case, I just want the processing to happen automatically. Is there a mechanism that would enable this?

Thanks, Dan

© Stack Overflow or respective owner

Related posts about iphone

Related posts about notifications