Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MediaRecorder instance not released

 
Astha Sharma
Ranch Hand
Posts: 250
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am making an android application to record sound. I have been using class MediaRecorder for that. The recording is done successfully when the recording is done for the first time on any device. But it doesn't work next time. If i try the code on another machine, recording is done successfully. Is it so because MediaRecorder instance is not getting released by the app even if i am calling method release().
Please help. Thanks in advance.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!