คำถามติดแท็ก speech-recognition

4
ฉันจะใช้การรู้จำเสียงโดยไม่มีกล่องโต้ตอบที่น่ารำคาญในโทรศัพท์ Android ได้อย่างไร
เป็นไปได้ไหมโดยไม่ต้องแก้ไข Android API ฉันพบบทความเกี่ยวกับเรื่องนี้ มีความคิดเห็นหนึ่งที่ฉันควรแก้ไข Android APIs แต่มันไม่ได้บอกว่าจะทำการปรับเปลี่ยนอย่างไร ใครสามารถให้คำแนะนำเกี่ยวกับวิธีการได้บ้าง? ขอบคุณ! ฉันพบบทความนี้ SpeechRecognizer ความต้องการของเขาแทบจะเหมือนกับของฉัน เป็นข้อมูลอ้างอิงที่ดีสำหรับฉัน! ฉันแก้ไขปัญหานี้ได้ทั้งหมดแล้ว ฉันใช้โค้ดตัวอย่างที่ใช้งานได้จากเว็บไซต์ในประเทศจีน นี่คือซอร์สโค้ดของฉัน package voice.recognition.test; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.speech.RecognitionListener; import android.speech.RecognizerIntent; import android.speech.SpeechRecognizer; import android.widget.Button; import android.widget.TextView; import java.util.ArrayList; import android.util.Log; public class voiceRecognitionTest extends Activity implements OnClickListener …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.