Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
android mediarecorder prepare failed
Joined: Oct 15, 2011
Aug 31, 2012 00:20:55
I am making an app which records sound. This is the code that i'v written-
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR); mRecorder.setOutputFile(sFileName); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); mRecorder.prepare(); mRecorder.start();
The code works fine sometimes and sometimes it gets crashed. I'm not getting why it happens. Please help...
Astha - OCPJP 6 (90%)
I agree. Here's the link:
subject: android mediarecorder prepare failed
problem comparing strings...
Issues with beginners java
Command to find out Linux desktop version?
No Current Row in the ResultSet when Migrating from SQL 2000 to 2005
Lost text when editing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015