How to know whether a MediaRecorder is in running state or not?
You cannot get the state directly, see the open enhancement request at http://code.google.com/p/android/issues/detail?id=800
You need to set a variable manually in the listeners when the mediaplayer reaches a certain state in order to remember the current state.
Also this this discussion: http://www.mail-archive.com/[email protected]/msg35320.html