简体   繁体   English

遍历一些主要的“呼叫处理”活动的方法

[英]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: 所以这是我的问题清单:

  • Is it possible to send messages to the call handling app on the device, after I catch the phone state ..RINGING? 捕获电话状态后,是否可以向设备上的呼叫处理应用发送消息?
  • If yes (look up), will this app feature be recognized by the Play Store as non-viral (Of course the user will be notified that this app has such a feature)? 如果是(查找),此应用功能是否会被Play商店识别为非病毒功能(当然,系统会通知用户该应用具有此功能)?
  • And if both answer are yes to the previous two, where should I start my research regarding this topic (are there any tutorials or blogs that describe same/like mechanisms)? 并且如果两个答案都对前两个答案是肯定的,那么我应该在哪里开始对此主题的研究(是否有任何描述相同/相似机制的教程或博客)?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM