是否有可能写一个新的"电话:QUOT;活动,如果是的话怎么办? [英] Is it possible to write a new "phone" activity, and if yes then how?

查看:129
本文介绍了是否有可能写一个新的"电话:QUOT;活动,如果是的话怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要说明这个问题,让我们说我想要写一个应用程序,使通话录音。

我知道,我不能记录呼叫者和被叫音频由于对系统目前这款手机的活动操作系统的限制。通过此限制的唯一方法是通过黑客操作系统code,这需要从我的用户的最小一个root权限。

那么,是不是可以不破解的android手机的活动,但写我自己的,当有来电意图上升,用户将可以选择启动哪个活动?

如果是这样,几个指针将是不错:)

感谢。


解决方案

我可能是错的,但我还没有看到在所有的平台上工作,因为它似乎是一个硬件内核级的问题,而不是一个操作系统的任何电话录音机/ API的问题。

至于更换你必须以root的手机要做到这一点反正系统的应用,除非我误解你的要求。

当然,所有的 Android源是可用,因此您可以在所有你想要和闲逛看是否有已经错过了什么

To illustrate the problem, let's say I want to write an app that allows call recording.

I know that I can't record the caller and called audio due to the OS restrictions on the systems current phone activity. The only way to pass this restriction is by "hacking" the OS code, which will require in the minimum a root access from my users.

So, is it possible not to hack the android phone activity, but to write one of my own, that when an incoming call intent rises, the user will be able to choose which activity to launch ?

If so, a few pointers would be nice :)

Thanks.

解决方案

I could be wrong, but I have not seen any phone recorders that work across all platforms because it seems to be a hardware kernel level issue and not an OS/API issue.

As far as replacing system applications you have to root the phone to do that anyway, unless I am misunderstanding what you are asking.

Of course all the android source is available so you can poke around in that all you want and see if there is anything that has been missed

这篇关于是否有可能写一个新的"电话:QUOT;活动,如果是的话怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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