This tutorial may show a way to use the SpeechRecognizer to display text.
Adapt the code to do exactly what you want to do Sherifdeen.
Load the example and see how it work.