如何启动来电界面? [英] How to launch the incoming call interface?

查看:153
本文介绍了如何启动来电界面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我devlopping SIP应用和whant具有SIP客户端的来电时,启动正常的来电界面。那可能吗 ?
非常感谢你。

I'm devlopping a SIP application and whant to launch the normal incoming call interface when having an incoming call from a SIP client. Is that possible ? Thank you very much.

推荐答案

我很抱歉,但是看起来没有什么作为标准来电界面的Andr​​oid(至少直到API级10)。

I am sorry, but it looks like there is nothing as standard incoming call interface in Android (at least not until API level 10).

这是你的来电看屏幕是本机PhoneApp的一部分。更具体地,它是通过从拨号源$ C ​​$ c中的类InCallScreen.java处理。该活动没有定义的意图过滤器,所以它绝对不用于外部使用。

The screen that you see on incoming call is part of the native PhoneApp. More specifically, it is handled by the class InCallScreen.java from the dialer source code. That Activity has no Intent filters defined, so definitely it is not intended for external usage.

然而,有些应用可能模拟天然的屏幕(或复制布局完整,不知道如果许可证允许),所以它看起来是从本地,虽然实际上并非如此。

However, some applications may mimic native screens (or copy complete layout, not sure if license allows that), so it looks like it is from native, although in fact it is not.

这篇关于如何启动来电界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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