Speech To Text App TUTORIAL (using in-built feature) | Android tutorials

Share it with your friends Like

Thanks! Share it with your friends!

Close

Android has an inbuilt feature speech to text through which you can provide speech input to your app. With this feature you can add some of the cool features to your app like adding voice navigation and it is very helpful when you are targeting disabled people.

In the background how voice input works is, the speech input will be streamed to a server, on the server voice will be converted to text and finally text will be sent back to our app.

Other tutorials :
1) Create a custom AVD :https://youtu.be/Cg7BVTk6r5E
2) Basic Android App :http://youtu.be/q98NC73LEgI
3) Calculator App :https://youtu.be/mrjOLG2Grt0
4) How to create a new activity :https://youtu.be/-xljI2_TRZg
5) How to create a login form :https://youtu.be/x6jQAaLz1O8

Find me here :
Tumblr : https://www.tumblr.com/blog/priyanka0304
Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Comments

Status gram says:

bhai agar ak se jyada edittext ho toh kya kare please

Status gram says:

bhai agar ak se jyada edittext ho toh kya kare please

Chandra Prakash Shukla says:

Can we run the speech to text continuously in the background, unless the app isn't removed from the recent apps' list?Also how can we do this?

erza odal says:

Is this working on your device? thanks

KLD says:

Thank you so much. How to use Google Speech API on iOS Swift ?

Anandh Nandu says:

Mam also I have doubt How to solve run time and unexpected errors in tha android programs??

Anandh Nandu says:

Mam video was very useful add more viedos mam….

Laraib Arts says:

ap jo kr r us ko agr thora sa smjha deti to acha hota… ap just code likhti or bolti ja r hain

Laraib Arts says:

what is v.getId() == r.id.imageButton?

Nishmitha Shetty says:

Thanks alot ma'am it would be great if u could plz show the apk u executed after this so that we could actually see the output

Ryan Kristoffer Bartolay says:

Where can i get the images you used?

sabeeh bangash says:

it work nice job but can u kindly tell me that how to find any thing on you tube or on any other things by voice in android

codingknowledge says:

how we train app with our own voice so that it will not recognize others voice
Even for four to five words (left,right,start and stop)

Hilmi Deprem says:

How to use services instead of an Activity to detect voices ?

Abdullah Alvi says:

how to use voice (frequency) as a trigger in android studio ??

RAAGHAV SHARMA says:

Abey rattu tota samjhayega kon be ?

Anattu News says:

Can you tell how to code with SpeechRecognition with ACTION_VOICE_SEARCH_HANDS_FREE.
or answer me at the link…
https://stackoverflow.com/questions/52379857/how-to-code-with-recognizerintent-action-voice-search-hands-free-in-speech-recog

Gabriel Augusto says:

Hello. Thank you for the tutorial.

I'm trying to avoid the cancel of the speech if silenced, so I tried to change these two variables:

i.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS, Long.valueOf(20000000));
i.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, Long.valueOf(50000000));

but for some reason it doesn't work =(

Do you have any ideas?

Mohammed Abutaleb says:

Heeey , I like your Videos amazing ,
But can u please make a simple app to record sound
Thank youuu

Harshdeep Saiyam says:

you should explain everything ,not just completing the project and showing things happeing, you should explain everything like what every parameter is doing in the code , or else there are many codes in the internet anyone can copy that code and make things work , what your academy is about ? to teach … sorry i was expecting a tutorial not how to write code .

Andrino Xavier says:

Hey mam…
I want to make one app that saves the audio also in the gallery what the inbuilt functions for that??

Thanks in advance

Victor Nolochemical says:

Thanks for sharing this, it works well! 😀 Material icons can be found (https://material.io/icons/)

aman kumar says:

the apps keeps on stopping when open. what to do?

ashley Santos says:

Tech Academy could you please make a tutorial in creating an translator app. text to text only please

Write a comment

*

Area 51
Ringing

Answer