[英]Traverse some methods to main “call handling” activity
I'm curious if there is a possibility to traverse some methods from my application to the main call handling app. 我很好奇是否有可能将某些方法从我的应用程序遍历到主调用处理应用程序。 For example if the phone is called, to show a different activity with a "Response" button and if the user presses it, to send this message to the main call handling activity on the device.
例如,如果呼叫了电话,则使用“响应”按钮显示不同的活动,如果用户按下该按钮,则将此消息发送到设备上的主要呼叫处理活动。
I know how to show an activity before the main call handling activity via BroadcastReceiver
, but this type of actions is way less trivial than that. 我知道如何通过
BroadcastReceiver
在主呼叫处理活动之前显示活动,但是这种类型的活动比这要简单得多。
So here's my list of questions: 所以这是我的问题清单:
Any help will be great... 任何帮助都会很棒...
I'm curious if there is a possibility to traverse some methods from my application to the main call handling app.
我很好奇是否有可能将某些方法从我的应用程序遍历到主调用处理应用程序。
No, because the "main call handling app" is not your app, and is not in your process. 否,因为“主呼叫处理应用程序”不是您的应用程序,并且不在您的流程中。
Is it possible to send messages to the call handling app on the device, after I catch the phone state ..RINGING?
捕获电话状态后,是否可以向设备上的呼叫处理应用发送消息?
There is no documented or supported means of sending "messages to the call handling app". 没有记录或受支持的发送“消息到呼叫处理应用程序”的方法。
You are welcome to create your own ROM mod with your own revised version of the "call handling app" to do what you want, then convince people to run that ROM mod. 欢迎您使用自己的“呼叫处理应用程序”的修订版创建自己的ROM mod,以执行所需的操作,然后说服人们运行该ROM mod。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.