我想开发将自定义的收入呼叫屏幕的应用程序。 我的理解,这是不可能的自定义或改变退出收益的屏幕,是不是? 如果答案是否定的比如何? 如果答案是肯定的,比我想知道如何添加收入呼叫屏幕上面的屏幕?
I am trying to develop an application that will customize the income call screen. I understood that it is impossible to customize or to change the exiting income screen, Is it right? if the answer is no than how? if the answer is yes than I want to know how to add screen above the income call screen?
谢谢 -Z
也许,如果你的应用程序句柄的的ACTION_ANSWER意图,则可以显示任何画面你喜欢。我不认为这将可以自定义现有的屏幕,只是用自己的替换它。
Perhaps if your app handles the ACTION_ANSWER intent, you could display whatever screen you like. I don't think this will enable you to customize the existing screen, just replace it with your own.
有关您的应用程序来处理,你必须意图过滤器添加到应用程序清单文件的意图。这在 Intent类文档。这里是你如何能处理ACTION_ANSWER意图快速出样:
For your app to handle intents you have to add intent filters to the app manifest file. This is fully described in the Intent class documentation. Here is a quick sample on how you could handle the ACTION_ANSWER intent:
<activity class=".MyCustomCallActivity"
android:label="@string/mycustomcall_title">
<intent-filter>
<action android:name="android.intent.action.ANSWER" />
</intent-filter>
...
</activity>
上一篇:调用完成()后,开始一个新的活动
下一篇:startActivityForResult不能正常工作与launchMode singleInstance不能正常、工作、startActivityForResult、launchMode