I have a app idea in mind, but I haven\'t been able to figure out one part yet. In Google Now on Android, it gives you the following options to search:
You can write a service and then use createSpeechRecognizer in that service. For a complete service code for this you can find the answer at Android Speech Recognition as a service on Android 4.1 & 4.2