Search code examples
androidandroid-edittextaudio-recording

Android : Recorded message as input in edittext


I am working on a project where i want a recorded audio message as input in edittext like whatsapp . Please help.


Solution

  • Basically pressing the audio icon in WhatsApp then showing recording audio is part of view animation.Where there are two views one is EditText and other Audio capturing View.

    For audio capturing, you will have to use MediaRecorder class of Andriod. Here is the link how to capture Audio in Android: https://developer.android.com/guide/topics/media/audio-capture.html

    Hope this will give you some idea to resolve this problem.