I am using the code from google’s sample voice recognition class. They write the top 5 results into a listview but I just want the top result posted in an edittext field. Is this possible? Or is it possible to populate the listview but then automatically copy the results to an edittext field?
Any help would be appreciated.
If you only want 1 result back, you should specify it in the intent you use to start the Voice Recognition Activity:
And then pull the single result and set it to your EditText: