TelephonyManager 检测拨出呼叫时的语音邮件
再次感谢我在这里收到的所有帮助!
我编写了一个侦听器来检测呼叫何时结束。 此外,我想检测收件人是否接听或我是否最终到达邮箱。
然而,我只是不知道如何做到这一点,并且在互联网上找不到任何内容(可能是搜索错误的术语,就像大多数时候的情况一样)。
非常感谢您的帮助。
再次感谢! 铬0n
thanks again for all the help I have received here!
I have written a Listener that detects when a call has ended.
Furthermore I want to detect wheter the receiver picked up or I ended up on the mailbox.
However, I just can't figure out how to it and can't find anything on the internet (probably searching for the wrong term, as is the case most of the time).
Help would be much appreciated.
Thanks again!
Chr0n
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最接近的方法是查看通话记录并从通话持续时间中找出答案。通话时长为零意味着另一端没有拿起电话。但这不是实时的,而是事后发生的。此外,它不会告诉你这个人是否去了语音信箱;如果他挂了怎么办...
我希望这会有所帮助...
The closest thing would be to look at the call log and figure it out from the call duration. A call duration of zero means the other end didn't pick up the phone. But this is not real time, it's after the fact. Moreover it won't tell you if the person went to voicemail; what if he hung up...
I hope this helps a little bit...