Code Quality Rank: L5
Programming language: Java
License: MIT License
Latest version: v1.0.0

MediaRecorderDialog alternatives and similar packages

Based on the "Custom Dialog" category.
Alternatively, view MediaRecorderDialog alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of MediaRecorderDialog or a related project?

Add another 'Custom Dialog' Package


Media Recorder Dialog

Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but with this dialog you can do all thats with only one dialog.

You can report any issue on issues page. Note: If you speak Arabic, you can submit issues with Arabic language and I will check them. :)






dependencies {
    compile 'net.alhazmy13.MediaRecorderDialog:libary:1.0.0'


 new MediaRecorderDialog.Builder(MainActivity.this)
    .setMessage("Press the button")
    .setOnSaveButtonClickListener(new OnSaveButtonClickListener() {
        public void onSucceed(String path) {
            // Toast.makeText(MainActivity.this,path,Toast.LENGTH_SHORT).show();
        public void onFailure() {

Implement an OnSaveButtonClickListener

In order to receive the path of file, you will need to implement the OnSaveButtonClickListener interfaces.

    public void onSucceed(String path) {
        //Your Code
    public void onFailure() {
        //Your Code

Additional Options

  • setTitle You can change the title of Dialog java .setTitle("Recording,,,")
  • setMessage to change the message
    java .setMessage("Press the button")
  • setOutputFormat You can change the Output format by passing the format from MediaRecorderDialog.OutputFormat java .setOutputFormat(MediaRecorderDialog.OutputFormat.MPEG_4)
  • setAudioEncoder You can change the Encoder by passing the value from MediaRecorderDialog.AudioEncoder java .setAudioEncoder(MediaRecorderDialog.AudioEncoder.AAC) ### Theme and style You can theme the dialog by overwriting the color resources in your project. xml <color name="media_recorder_colorPrimary">#00796B</color> <color name="media_recorder_background">#009688</color> <color name="media_recorder_bar">#80CBC4</color> ### Credits
  • Gota Library
  • AndroidViewAnimations.
  • Android Ripple Background Library


Copyright (c) 2016 Abdullah Alhazmy

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*Note that all licence references and agreements mentioned in the MediaRecorderDialog README section above are relevant to that project's source code only.