code: public void setPath(String path) {
          this.path = path;
          if (null != path) {
              int i = path.lastIndexOf('.');
              if (i == path.length() - 4) {
                  i = path.lastIndexOf('/');
                  String p = path.substring(0, i);
                  String f = path.substring(i + 1);
                  recorder.setPath(p);
                  recorder.setName(f);
              } else {
                  recorder.setPath(path);
                  //recorder.setName(VoiceRecorder.generateName());
              }
          }
      }
docs: 设置录音文件路径，请事先设置好<br />
  可以设置文件完整路径或只设置文件夹路径