iPhone Backgrounding: Answering Call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Angie,

You would detect whether the app has been called to the foreground with one
of the app delegate methods then answer the call that way. Or use the
applicationDidLaunchWithLocalNotification and check to see if the
application did just appear.

Cheers,

Dan

On 06/10/2010, at 16:36, Angelica Grace Tanchico <atanchico at live.com> wrote:


Hello,


Just want to get some insights on how to properly implement answering a call
when app is suspended.
Since pjsip 1.8 has limited view and answering a call just performs
pjsua_call_answer(), I am wondering
how to implement if I have a separate views for incoming and connected
calls.

As mentioned in Apple's programming guide, it is to avoid updating views
when app is suspended since it will
only be queued and performed only when the app moves to foreground.

But of course users expect that a proper view is loaded (connected call
view) when they press Answer
button from UILocalNotification. How do we do it (esp when user is in main
keypad view then closes the app)?

Thanks in advance!


Regards,
Angie

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101006/c4329220/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux