When pjsip app was killed by iOS in background is there a way to get notified and do some final work ?

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

 



Hello,

If you have a VoIP app, as background VoIP, the app will be automatically
restarted after killed by system. (as long as its icon exists still in task
list)

Regards,

Pai

On Wed, Mar 13, 2013 at 4:43 PM, qiulang <qiulang at sinicnet.com.cn> wrote:

> When pjsip app was killed by iOS in background is there a way to get
> notified and do some final (clean-up) work ?
>
> I have tried UIApplicationDelegate's method like
> applicationWillTerminate:, applicationDidReceiveMemoryWar**ning: and
> dealloc. It seems that none of them get called. I had thought it was
> impossible and Apple's document seems to indicated that.
>
> But then I find skype seems to be able to do that. If iOS fresh starts
> skype, it will show default.png as well as it's logo png, but when skype is
> in background, killed by ios and you click it to start it again, it only
> show default.png. So I think skype must be able to tell the difference
> between these 2 kills and do some extra work for the latter one. But how ?
>
> Does anyone have experience for that ?
>
> Thanks!
>
> Qiulang
>
> ______________________________**_________________
> 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<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/20130313/19b699df/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