在VOIP Android应用中检测呼叫状态更改 [英] Detect call state change in VOIP Android apps

查看:122
本文介绍了在VOIP Android应用中检测呼叫状态更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以检测Google Hangouts / Skype等应用中语音通话的开始/结束? (我知道这是在黑暗中拍摄的照片,但我想知道是否有人研究了此选项。)

Is there a way to detect the beginning/ending of voice calls in apps such as Google Hangouts / Skype? (I know this is a shot in the dark, but I was wondering if anyone researched this option).

我对类似Android的Android接收器感兴趣。 intent.action.PHONE_STATE和android.intent.action.NEW_OUTGOING_CALL操作

I'm interested in something like Android's receivers for the android.intent.action.PHONE_STATE and the android.intent.action.NEW_OUTGOING_CALL actions

推荐答案

Skype广播:

com.skype.android.CONVERSATION_LIVE_STATE

您可以阅读:

com.skype.live_identity -> ur friend
com.skype.live_status -> RINGING_FOR_ME or STARTING or NONE
com.skype.account -> your account 

这篇关于在VOIP Android应用中检测呼叫状态更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆