安卓:三个手机状态 [英] Android: the three phone states

查看:106
本文介绍了安卓:三个手机状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么当应答呼叫空闲时间结束后不叫?我想不出我的生活如何检测来电的结束。罚款错过叫,但随后一个接电话空闲的作品似乎是一个神秘的国家。

Why when a call is answered idle is not called after it finishes? I cannot figure out for the life of me how to detect the end of an incoming call. Idle works fine for missed called, but subsequent to an answered call seems like a mysterious state.

任何人都知道如何检测来电的结束?

Anyone know how to detect the end of an incoming call?

推荐答案

如果您接听来电时,手机进入OFF_HOOK。 IDLE意味着手机没有做任何事情。当呼叫首次进入时,状态正在振铃,直到你拒绝来电(发送手机空闲)或接听电话(发送手机OFF_HOOK)。

if you answer an incoming call, the phone goes into OFF_HOOK. IDLE implies that the phone is not doing anything. When a call first comes in, the state is RINGING until you reject the call (send the phone to idle) or answer the call (send the phone to OFF_HOOK).

这篇关于安卓:三个手机状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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