Android: Pause voice Recorder and Resume

我的未来我决定 提交于 2019-12-06 03:24:27

check out these 2 pages

http://developer.android.com/guide/topics/media/index.html http://developer.android.com/reference/android/media/MediaRecorder.html

according to the first article there is a pause()

but i dont see a pause() method on that second link so im not sure

the other thing that the first article references: "When you call stop(), however, notice that you cannot call start() again until you prepare the MediaPlayer again. Always keep the state diagram in mind when writing code that interacts with a MediaPlayer object, because calling its methods from the wrong state is a common cause of bugs."

so maybe u can just stop() prepare mediaplayer then start() again

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!