28 5月 2021 @ 10:02 上午 

  本文观点google voice怎么注册telegram与google voice充值最低10美元由google voice 购买攻略站提供;

  购买或批发Googlevoice号码请访问枫叶数卡


  语音识别2008年Google语音搜索在iphone平台上线,Android 1.5 将语音识别应用到搜索功能上。手动输入是目前主要与手机互动的方式,语音搜索宗旨是最大限度地改善人机交互的便捷性。在玩游戏时,通过语音来控制操作,更显得人性化,体验更佳。Android 中主要通过RecognizerIntent来实现语音识别。RecognizerIntent包括的常量ACTION_RECOGNIZE_SPEECHACTION_WEB_SEARCHEXTRA_LANGUAGEEXTRA_LANGUAGE_MODELEXTRA_MAX_RESULTSEXTRA_PROMPTEXTRA_RESULTSLANGUAGE_MODEL_FREE_FORMLANGUAGE_MODEL_WEB_SEARCHRESULT_AUDIO_ERRORRESULT_CLIENT_ERRORRESULT_NETWORK_ERRORRESULT_NO_MATCHRESULT_SERVER_ERROR// 打开语音识别Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);intent.putExtra(RecognizerIntent.EXTRA_PROMPT, “开始语音");startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);在模拟器上找不到语音设备,会抛出异常ActivityNotFoundException。示例:点击“开始使用语音识别”按钮后,开始语音输入,然后在onActivityResult方法中取得结果并显示出来protect void onActivityResult(int requestCode, int resultCode, Intent data) { if(requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { ArrayList<String> results = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS); StringBuffer sb = new StringBuffer(); for(int i=0; i<results.size; i++) { sb.append(results.get(i)); } Toast.makeText(this, sb.toString(), Toast.LENGTH_LONG).show(); super.onActivityResult(requestCode, resultCode, data); }

Posted By: google voice
Last Edit: 28 5月 2021 @ 10:02 上午

EmailPermalink
Tags


Change Theme...
  • Users » 1
  • Posts/Pages » 736
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Googlevoice购买页面



    No Child Pages.