简体   繁体   English

如何在我的应用程序中检测传入的voip呼叫(例如whatsaap)

[英]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.

相关问题 如何在VoIP呼叫中从我的应用程序加载活动? - How can I load an activity from my App on incoming VoIP call? 如何定义自定义android注释(例如@Background) - How can I define a custom android annotation (Eg. @Background) 如何将电话桥接到 VoIP? - How can I bridge phone calls to VoIP? 即使应用程序终止,如何在 Android 中检测来电 - How to detect incoming calls in Android even when the app is terminated 如何添加用充气机创建的某些视图(例如10)? - How can I add some view (eg. 10) that created with inflater? 如何将android资源int转换为字符串。 例如:android.R.string.cancel? - How can I convert the android resources int to a string. eg.: android.R.string.cancel? 我怎样才能在底部有文字的图像(takePicture)。 例如。 约会时间 - How can i have image (takePicture) with text at the bottom of it. Eg. Date time 如何通过数据/ VOIP将购买的Twilio或Nexmo号码的电话转接到Android手机? - How can I forward calls from a Twilio or Nexmo number I bought to my Android phone over data / VOIP? 我可以为我的VOIP应用程序独自处理Android碎片吗? - Can I handle Android fragmentation all by myself for my VOIP app? 如何将我的应用程序与 linphone-sdk-android 一起用于我的 freePBX 帐户的来电? - How can i use my application with linphone-sdk-android for incoming calls to my freePBX accounts?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM