英文:
Trying to redirect incoming call to custom made UI in android
问题
我正在尝试将呼入电话重定向到自定义 UI,而不是默认的 Android 屏幕。
我尝试过使用许多方法,比如使用 CallScreeningService 或 InCallService,但仍然无法找到解决方案。
有人可以提供一个小的可工作示例解决方案吗?
英文:
I'm trying to redirect incoming calls on a custom made UI instead of default Android screen.
I have tried doing it using many ways like using CallScreeningService or InCallService but still not able to figure out the solution.
Can anyone provide a small sample working solution?
答案1
得分: 0
用户arekolek在最后提供了他自己的源示例,以回答我的问题。
我在他发布时验证过它可以工作,并且应该仍然适用于当前的Android版本。希望这有所帮助,如果有效的话,我建议在那里提供反馈。
英文:
User arekolek provided an answer to my question with his own source sample at the end.
I verified it working back when he posted it, and should still work on current Android versions. Hope that helps, I would suggest providing feedback to there if it does.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论