How To Display Voice Recognition Settings Screen Programmatically
From within an Android app, how to show the system Voice Recognition Settings screen? Note: there is a similar question here but it is out of date.
Solution 1:
Pre-Jelly Bean, the way to do this is using the intent:
Intentintent=newIntent(Intent.ACTION_MAIN);
intent.setClassName("com.google.android.voicesearch", "com.google.android.voicesearch.VoiceSearchPreferences");
HOWEVER: I have not had a chance to test this on Honeycomb (API 11-13) - anyone know?
Jelly Bean, you need to change the package name:
intent.setClassName("com.google.android.googlequicksearchbox", "com.google.android.voicesearch.VoiceSearchPreferences");
Post a Comment for "How To Display Voice Recognition Settings Screen Programmatically"