广播接收器总是工作吗?
我正在开发一个 SIP 应用程序,并且有一个广播接收器来接收来电。 我的问题:当我退出应用程序时,我看到我的应用程序的进程正在运行,但没有收到来电。正常吗?为什么它不监听来电并将它们捕获到我编码的 ALertDialog 中? 谢谢。
I'm developping a SIP application and i have a broadcast receiver to receive incoming calls.
My question: when i quit the application i see that the process of my app is working but don't receive incoming calls. Is it normal ? why it's not listening to incoming calls and catch them to the the ALertDialog that i coded it?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然与您的情况不完全一样,但我希望这会有所帮助。
我最近实现了一个广播侦听器来拦截对特定号码的新拨出呼叫。即使在使用高级任务杀手杀死该应用程序后,我也测试了成功的拦截。它仍然100%拦截广播。
While not exactly like your scenario, I hope this helps..
I've recently implemented a broadcast listener to intercept new outgoing calls to a specific number. I've tested a successful interception even after using Advanced Task Killer to kill off the app. It still intercepted the broadcast 100% of the time.