I am working on an android application in which i have implemented voice recognition and TTS. So i was thinking to launch settings screen for both google voice recognition and TTS to allow user to change settings from within the application.
I have implemented TTS settings successfully by using following code:
intent = new Intent();
intent.setAction("com.android.settings.TTS_SETTINGS");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.startActivity(intent);
Now I want to show system’s “google voice recognition settings” in my application to allow user to change language options etc. I have searched a lot… Done a lot of hit and try but failed to load voice recognition settings screen. Please tell me how i can implement that.
Thanks in advance…
I was stuck on this for ages too…
Hope it does for you too…
EDIT: As pointed out in the comments, this changed in the Jelly Bean version of the Google Search App. To catch any potential update issues where you can’t use Build.Version, you can use something along these lines: