I need to create a android application which is for recording voice while showing the voice(sound) level visualization.
I already created an audio recording application
If you're using the MediaRecorder
class and visualization based on peak amplitude is ok you can use the getMaxAmplitude() method to continuously poll for the "maximum absolute amplitude that was sampled since the last call".
Scale that amplitude down into an index that determines how many of your app's graphical volume bars to light up and you're set.