在Android的虚拟来电Android

2023-09-05 05:18:11 作者:╰哭过了,记得要笑

大家好,

我想开发在Android中的假电话应用程序。点击按钮后,我必须接受一个假电话,在给定的时间段。有没有办法做到这一点.. 任何线索或样品code ...?请让我know..Thanks提前。

I want to develop an fake call application in android. After clicking on button i have to receive a fake call with in a given time period. Is there any way to do this.. any clues or sample code...? Please let me know..Thanks in advance.

推荐答案

Android是开源的。使用它!

Android is open source. Use it!

在对Git仓库的 Phone应用你可以找到call_card.xml和CallCard.java,它们用于显示来电屏幕。特别是在java文件是相当漫长和复杂,但布局(组合,当然,它引用了资源)应该给你的默认的Andr​​oid呼叫屏幕的一个相当准确的副本。

In the Phone app on the git repository you can find call_card.xml and CallCard.java, which are used to display the incoming call screen. Especially the java file is quite long and complex, but the layout (combined, of course, with the resources it references) should give you a fairly accurate copy of the default Android call screen.

另外,你真的应该接受你的previous问题的一些答案!阅读常见问题解答如果你不熟悉的StackOverflow是如何工作的。

Also, you really should accept some answers on your previous questions! Read the FAQ if you're unfamiliar with how StackOverflow works.