展会&QUOT如何,声音输入,输出和QUOT;从应用程序设置页? [英] How show "Voice Input and Output" settings page from application?

查看:199
本文介绍了展会&QUOT如何,声音输入,输出和QUOT;从应用程序设置页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要帮助用户选择我想从我的应用程序来打开语音输入和输出的设置页面设​​置。我可以打开设置(Settings.ACTION_SETTINGS),我可以打开各种网页在那里(Settings.ACTION_XXXX_SETTINGS) - 但它无法找到如何做到这一点的语音输入和输出页

To help the user choose the settings I want from my application to open the Voice Input and Output settings page. I can just open the settings (Settings.ACTION_SETTINGS), I can open the various pages out there (Settings.ACTION_XXXX_SETTINGS) - but it can not find how to do it for Voice Input and Output page.

你知道吗?

P.S。我试着查源Settings.apk,但没有人不使用VoiceInputOutputSettings.java

P.S. I try check source Settings.apk, but no one not using VoiceInputOutputSettings.java

推荐答案

这是我的code与 Android 2.2的工作

final Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setComponent(ComponentName.unflattenFromString("com.android.settings/.TextToSpeechSettings"));
intent.addCategory(Intent.CATEGORY_LAUNCHER );
startActivity(intent);

另请参见:<一href="http://stackoverflow.com/questions/3160447/how-to-show-up-the-settings-for-text-to-speech-in-my-app">how ,以示对文本到语音的设置我的应用程序?

这篇关于展会&QUOT如何,声音输入,输出和QUOT;从应用程序设置页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆