AudioSource.VOICE_CALL不工作在Android 4.0的,但是在Android 2.3的工作 [英] AudioSource.VOICE_CALL not working in android 4.0 but working in android 2.3

查看:456
本文介绍了AudioSource.VOICE_CALL不工作在Android 4.0的,但是在Android 2.3的工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VOICE_CALL, VOICE_DOWNLINK ,VOICE_UPLINK  

不工作在Android 4.0,但工作在Android 2.3(实际设备),我上传了一个虚拟的项目,以记录所有呼出,这样你可以看到它为你的自我

not working on android 4.0 but working on android 2.3 (Actual Device),I have uploaded a dummy project to record all outgoing call so that you can see it for your self

http://www.mediafire.com/?img6dg5y9ri5c7rrtcajwc5ycgpo2nf

您只需要改变 audioSource = MediaRecorder.AudioSource.MIC; audioSource = MediaRecorder.AudioSource.VOICE_CALL; TService.java行118

如果您遇到任何错误告诉我

If you come across any error tell me

任何与它有关的建议会被接受。

Any suggestion related to it will be accepted

如果有任何问题,让我知道

If any problem let me know

在此先感谢

推荐答案

很多的搜索,我发现了一些制造商已经关闭了获得这样的功能,因为电话录音是不是在某些国家允许后。如果有人发现这样的问题,也得到解决一些其他的方式,然后将它张贴在这里可能会有所帮助很多,因为很多人都是有同样的问题。

After a lot of search I Found that Some Manufactures have closed the access to such function because call recording is not allowed in some countries. If anyone finds such question and get the solution some other way then post it over here it may be helpful to many because many people are have the same issue.

这篇关于AudioSource.VOICE_CALL不工作在Android 4.0的,但是在Android 2.3的工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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