如何暂停和恢复在Android的音频录制 [英] How to Pause and Resume Audio recording in android

查看:711
本文介绍了如何暂停和恢复在Android的音频录制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用MediaRecorder类音频录制应用程序。
我有以下要求:

I am developing an audio recording application using MediaRecorder class. I have the following requirement:

1。当一个暂停按钮pssed然后暂停录音$ P $。

1.When a pause button is pressed then pause recording.

2,当一个恢复按钮是pssed然后恢复记录的地方暂停$ P $。
我试试这个<一个href=\"http://stackoverflow.com/questions/5743165/pause-and-resume-audio-recording-in-android\">link

2.When a resume button is pressed then resume recording where it paused. I try this link

但我无法实现的功能。

任何帮助/建议将大大AP preciated。

Any help/suggestion would be greatly appreciated.

推荐答案

媒体录像机类不支持暂停和恢复,看到第二个链接类概述
尝试使用停止和重新启动

Media Recorder class does not support to pause and resume , see second link class overview try to use stop and restart

如何暂停录音Android中?

http://developer.android.com/reference/android/media/ MediaRecorder.html

<一个href=\"http://www.techotopia.com/index.php/Android_Audio_Recording_and_Playback_using_MediaPlayer_and_MediaRecorder\" rel=\"nofollow\">http://www.techotopia.com/index.php/Android_Audio_Recording_and_Playback_using_MediaPlayer_and_MediaRecorder

这篇关于如何暂停和恢复在Android的音频录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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