Skip to content

Leavds/Mp3Recorder

 
 

Repository files navigation

Mp3Recorder

image

一行代码开启录制

Mp3Recorder.getInstance().setListener(this).start(this);

监听录音

@Override
public void onComplete(String path) {
    //path 录音文件路径
    //...
}

@Override
public void onCancel() {
    //...
}

Library projects

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        compile 'com.github.Android-LiuHuan:Mp3Recorder:1.0'
}

About

使用AudioRecord录MP3文件

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%