在Android的虚拟来电 [英] Fake call in android

查看:409
本文介绍了在Android的虚拟来电的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想开发在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应用你可以找到<一href="http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=blob;f=res/layout/call_card.xml;h=663f114eab8476a1ec780623f54bbe16af53beac;hb=HEAD">call_card.xml和<一href="http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=blob;f=src/com/android/phone/CallCard.java;h=6bd80366f10d89da81a15831b384de62b9353673;hb=HEAD">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.

这篇关于在Android的虚拟来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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