[英]How can i detect incoming voip calls (eg. whatsaap) in my app
I want that whenever there is a voice call or video call over internet eg. 我希望只要有互联网上的语音通话或视频通话即可。 whats-app call,my app should stop the timer which is running.Want to detect whether it is received or it is declined .Is this possible ?I have tried a lot to find this but don't understand how to achieve this.I have done this for my normal call but no luck for voip calls.
whats-app调用,我的应用程序应该停止正在运行的计时器。想要检测它是被接收还是被拒绝。这是否可能?我已经尝试了很多尝试找到它,但不知道如何实现。我的普通电话已经做到了这一点,但是语音电话却没有运气。
您可以尝试使用BroadcastReceiver监听所有通知,并过滤掉呼叫通知。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.