文件名称:dianhualuyin
介绍说明--下载内容均来自于网络,请自行研究使用
本例子是一个基于安卓的通话监听例子源码,可以实现简单的通话录音,下面是简单的实现步骤。
1.首先新建一个SystemService继承Service
2.拿到TelephoneManager的实例,调用它的listen方法。
3.电话有很多种状态,在不同的状态下写你自己的事件(后面代码注释很详细)
4.实例化一个录音机,当通话状态时,开始录用,通话状态结束时,把音频文件在后台上传到服务器,实例化录用代码注释很详细。-This example is a source code based on the example of Android call source, you can achieve a simple call recording, the following is a simple implementation steps.
1 first build a new SystemService inheritance Service
2 to get the TelephoneManager instance, call its listen method.
3 phone there are many kinds of state, in a different state to write your own event (the code behind the notes are very detailed)
4 to be a tape recorder, when the call status, start hiring, call state at the end of the audio file in the background to upload to the server, the code is very detailed.
1.首先新建一个SystemService继承Service
2.拿到TelephoneManager的实例,调用它的listen方法。
3.电话有很多种状态,在不同的状态下写你自己的事件(后面代码注释很详细)
4.实例化一个录音机,当通话状态时,开始录用,通话状态结束时,把音频文件在后台上传到服务器,实例化录用代码注释很详细。-This example is a source code based on the example of Android call source, you can achieve a simple call recording, the following is a simple implementation steps.
1 first build a new SystemService inheritance Service
2 to get the TelephoneManager instance, call its listen method.
3 phone there are many kinds of state, in a different state to write your own event (the code behind the notes are very detailed)
4 to be a tape recorder, when the call status, start hiring, call state at the end of the audio file in the background to upload to the server, the code is very detailed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Android例子源码实现电话录音监听的安卓例子
.........................................\SystemService
.........................................\.............\.classpath
.........................................\.............\.idea
.........................................\.............\.....\.name
.........................................\.............\.....\compiler.xml
.........................................\.............\.....\copyright
.........................................\.............\.....\.........\profiles_settings.xml
.........................................\.............\.....\encodings.xml
.........................................\.............\.....\misc.xml
.........................................\.............\.....\modules.xml
.........................................\.............\.....\scopes
.........................................\.............\.....\......\scope_settings.xml
.........................................\.............\.....\vcs.xml
.........................................\.............\.....\workspace.xml
.........................................\.............\.project
.........................................\.............\.settings
.........................................\.............\.........\org.eclipse.jdt.core.prefs
.........................................\.............\AndroidManifest.xml
.........................................\.............\ant.properties
.........................................\.............\assets
.........................................\.............\build.xml
.........................................\.............\gen
.........................................\.............\...\com
.........................................\.............\...\...\andrew
.........................................\.............\...\...\......\systemservice
.........................................\.............\...\...\......\.............\BuildConfig.java
.........................................\.............\...\...\......\.............\R.java
.........................................\.............\libs
.........................................\.............\local.properties
.........................................\.............\out
.........................................\.............\...\production
.........................................\.............\...\..........\SystemService
.........................................\.............\...\..........\.............\com
.........................................\.............\...\..........\.............\...\andrew
.........................................\.............\...\..........\.............\...\......\systemservice
.........................................\.............\...\..........\.............\...\......\.............\BootReceiver.class
.........................................\.............\...\..........\.............\...\......\.............\BuildConfig.class
.........................................\.............\...\..........\.............\...\......\.............\MyActivity.class
.........................................\.............\...\..........\.............\...\......\.............\R$attr.class
.........................................\.............\...\..........\.............\...\......\.............\R$drawable.class
.........................................\.............\...\..........\.............\...\......\.............\R$layout.class
.........................................\.............\...\..........\.............\...\......\.............\R$string.class
.........................................\.............\...\..........\.............\...\......\.............\R.class
.........................................\.............\...\..........\.............\...\......\.............\SystemService$1.class
.........................................\.............\...\..........\.............\...\......\.............\SystemService$MyListener.class
.........................................\.............\...\..........\.............\...\......\.............\SystemService.class
........