Hi guys,

I have been trying to develop an app around the voice recognition
functionality of Cupcake. As a sample code, I used the
VoiceRecognition.java project available under API Demos. (http://
developer.android.com/guide/samples/ApiDemos/src/com/example/android/
apis/app/VoiceRecognition.html)


I want to know if I can extract the text result on the list view and
use it as a String further on? The part of code I am refering to is
below where mList is defined as ListView:


ArrayList<String> matches = data.getStringArrayListExtra
(RecognizerIntent.EXTRA_RESULTS);
mList.setAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, matches));


I want to use the result to be able to take further action.


Thanks,


Abhi



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to