开发者

How to launch the incoming call interface?

I'm devlopping 开发者_Go百科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.


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

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.


I checked the source of default phone app, and I figured the only way to get this done is draw a layout exactly like the default incoming call interface -_-||
If you have the solution , please tell me , thank you so much !

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜