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

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • 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 : • How to set up an AVD u...
    2) Basic Android App : • Android Studio : Basic...
    3) Calculator App : • Simple Calculator App ...
    4) How to create a new activity : • How to create a new ac...
    5) How to create a login form : • How to create a Login ...
    Find me here :
    Tumblr : www.tumblr.com...
    Google+ : plus.google.co...
    Twitter : / androidacademy1
    Facebook : www.facebook.c...

Комментарии • 118

  • @KLDkenhleduong
    @KLDkenhleduong 4 года назад

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

  • @PawanKumarYouTube
    @PawanKumarYouTube 7 лет назад

    I followed this tutorial and it worked... Great starting point.. Will now try to explore and understand why it works.. Thanks Ma'am.. Good work.. Please keep uploading.. :)

  • @chuk2030
    @chuk2030 8 лет назад +2

    good tutorial by tech academy ,but video lack in explanation , being a beginner i can run the code but and know how i works.
    but try to make video with more explanation.
    THANKS for sharing such information

  • @chandraprakashshukla413
    @chandraprakashshukla413 4 года назад +1

    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?

  • @terryhoran820
    @terryhoran820 7 лет назад

    Thank You for a very informative tutorial.
    I am using android studio 2.3.2, so with a couple of tweaks it worked very well.
    is there a way to extend the speaking time?.

  • @nishmithashetty9760
    @nishmithashetty9760 5 лет назад

    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

  • @andrinoxavier440
    @andrinoxavier440 6 лет назад +1

    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

  • @stickonabob9
    @stickonabob9 9 лет назад +2

    Thank you for uploading these videos!!! This was what I was looking for to create my own app!! Thank you again!

    • @TechAcademy8
      @TechAcademy8  9 лет назад +1

      stickonabob9 You are welcome :-)

  • @sankarpenumacha9382
    @sankarpenumacha9382 7 лет назад

    Awesome tutorial. Worked like a charm, on very first attempt.

  • @anandhnandu6474
    @anandhnandu6474 4 года назад

    Mam video was very useful add more viedos mam....

  • @TechCornerWithAjay
    @TechCornerWithAjay 7 лет назад

    Loved it so.much...i never knew this can be done with 5 lines of intent code....tq so much...

  • @anandhnandu6474
    @anandhnandu6474 4 года назад

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

  • @sabeehbangash8016
    @sabeehbangash8016 5 лет назад

    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

  • @battmarn
    @battmarn 7 лет назад +1

    I tried this and my app isn't throwing any errors or exceptions, but after speaking the text view does not change, it remains blank

  • @Ktulian
    @Ktulian 6 лет назад

    An updated video would be wonderful. None of these windows and options are the same in my version.

  • @everything8095
    @everything8095 4 года назад

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

  • @imanyazdansepas4217
    @imanyazdansepas4217 8 лет назад

    HI Thank you for your informative tutorial. I'm wondering how can I make an app without pushing the microphone icon. Like call a name instead of pushing button?

  • @sornanunsipkhea463
    @sornanunsipkhea463 9 лет назад

    Thank you very much. I have a question. How to change speech language to thai language ?

  • @mdmahfuj4885
    @mdmahfuj4885 8 лет назад

    when i install app in my android phone its unfortunayly stoped

  • @ViralJoshiVirus
    @ViralJoshiVirus 6 лет назад

    After tapping the mic, I am speaking but Textview is blanc. Application is working fine but nothing is showing

  • @hamdisultan
    @hamdisultan 8 лет назад

    thank you for this tutorial. can you teach us how to compile a simple dictionary using android studio. I need this to give it to my students. thanks.

  • @huseyinerbayat3985
    @huseyinerbayat3985 8 лет назад

    thanks for video but i don't want to show Dialog. Can it work in background? How to avoid "Speak Now" Dialog?

  • @codingknowledge8183
    @codingknowledge8183 5 лет назад

    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)

  • @debchatterjee28
    @debchatterjee28 8 лет назад

    You have helped me a lot. Thanks!! But I wanna make a GPS tracker for android to track moving cars like ola/ Uber do. So can I? can you plzzzz help me?

  • @KunalWadekar007
    @KunalWadekar007 7 лет назад

    well I need help
    I m working on text to speech but over the Bluetooth to speaker
    means the string will get converted in audio then audio to Bluetooth n then Bluetooth speaker will catch n it will play it
    but I m not getting how to send that audio file which is generated internally by a text to speech engine
    how can I store that audio file n then I will send it

  • @sajidjaved1105
    @sajidjaved1105 8 лет назад

    Thanks!!! This is amazing for android beginner level learners.

  • @ShadmanShaikh93
    @ShadmanShaikh93 8 лет назад

    Hey... a very imp thing. I can't type special characters. If i say Question Mark, it types it. I am expecting "?". What to do ? Any suggestions
    Thanks in Advance

  • @vijayalaxmirohane6464
    @vijayalaxmirohane6464 7 лет назад

    if I want to create a text file and store the recognized speech into it. what should I do...?

  • @Misssssysparkles
    @Misssssysparkles 7 лет назад

    OMG is this the easy version ? I was looking for an app that i can use in live stream on you tube that will convert voice to text while im driving for android

  • @erzaodal2704
    @erzaodal2704 4 года назад

    Is this working on your device? thanks

  • @ashleysantos2212
    @ashleysantos2212 6 лет назад

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

  • @mohitkalra9329
    @mohitkalra9329 8 лет назад

    Simply put . Awesome .

  • @vivekindravinu
    @vivekindravinu 7 лет назад

    Thankyou so much for the tutorial. it was really helpful.

  • @lizapierre5809
    @lizapierre5809 8 лет назад

    Can you please upload a video how to implement tesseract OCR in android?

  • @aayushkumar9430
    @aayushkumar9430 8 лет назад

    Can u please tell me how to use google voice recognition feature in offline mode?

  • @ithanhunt3250
    @ithanhunt3250 8 лет назад

    can you make a microphone to connect to pc ??

  • @hilmideprem6717
    @hilmideprem6717 5 лет назад

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

  • @sumitkumbhar7517
    @sumitkumbhar7517 8 лет назад

    i tried running the code the application is running but all the time it is throwing exception, please help me what to do

  • @furkansabanc6742
    @furkansabanc6742 8 лет назад

    hi friend :) I am beginner in java. How can i send this speech text via bluetooth? can you help me?
    great job by the way

  • @statusgram8592
    @statusgram8592 3 года назад

    bhai agar ak se jyada edittext ho toh kya kare please

  • @sreenivaskaranam8032
    @sreenivaskaranam8032 9 лет назад +5

    I tried the way you build the application but after installing the apk on the application it is not taking my voice i can tap onto the mic symbol but it not recognizing

    • @arqampatail7734
      @arqampatail7734 7 лет назад +1

      i m also facing same problem.
      when i tap on mic the application crashed or unfortunately stop.
      please tell me how can i fix it.

    • @TheMusashiden
      @TheMusashiden 7 лет назад

      someone manage to make it work?

    • @thomi100
      @thomi100 7 лет назад

      Maybe you have to ask for the permissions to access the mic?

    • @plutorider
      @plutorider 7 лет назад

      No need to have extra permissions at app level as GTTS intent handles that, Try "setOnClickListener" and @override "onClick" in your activity or fragment. Hope that will solve.

    • @alfikr-almuasir
      @alfikr-almuasir 6 лет назад +1

      Hey,
      try to add this under the onCreate
      it worked for me !
      ButtonClick.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
      promptSpeechInput();
      }
      });

  • @farrukhsaleem1400
    @farrukhsaleem1400 7 лет назад +1

    Hello #Tech_Academy
    i am creating speech to text application but i want to keep MIC on till the application is ON.
    for example when application is start and mic button is pressed then it start listening till the application is close.
    can any body have idea about it?? if have then please share with me

    • @alfikr-almuasir
      @alfikr-almuasir 6 лет назад

      yes sure,
      Just add promptSpeechInput( ); in the onCreate, so once the app launch it will start working..

  • @RobotosMovies
    @RobotosMovies 7 лет назад

    Would you mind to upload the code for countdown month,week,day.....

  • @Princekumar-sj3gx
    @Princekumar-sj3gx 7 лет назад

    its awesome mam, a big thanks for your video.

  • @badhmanabanm5260
    @badhmanabanm5260 8 лет назад

    why can't u explain and say what are the inbuilt classes u use and why u use that... that would be better to understand

  • @nishaingale9674
    @nishaingale9674 6 лет назад

    how To build app for open any application by speech

  • @arqampatail7734
    @arqampatail7734 7 лет назад +1

    i follow your tutorial but when i tap on mic the application crashed or unfortunately stop.
    please tell me how can i fix this

    • @igabuts
      @igabuts 7 лет назад

      i think you have to check it again

  • @gabrielaugusto6001
    @gabrielaugusto6001 6 лет назад

    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?

  • @sarr3al
    @sarr3al 8 лет назад

    my app crashed every time i click the mic button ..need help on that.
    Thanky you
    This video is awesome

    • @sarr3al
      @sarr3al 8 лет назад

      +bikram pangeni i figured that out sorry

  • @DatKam
    @DatKam 9 лет назад +1

    Excellent video again, thanks!

  • @shahman1
    @shahman1 8 лет назад

    Please make a tutorial for a music app with a good UI

  • @mohammedabutaleb3612
    @mohammedabutaleb3612 6 лет назад

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

  • @Doctor.Fortnite
    @Doctor.Fortnite 7 лет назад

    Thank you so much. It worked perfectly ♥ ♥ ♥

  • @MuhammadAmir-mf9xt
    @MuhammadAmir-mf9xt 6 лет назад

    how to write all the numbers in single edittext filed

  • @ShadmanShaikh93
    @ShadmanShaikh93 8 лет назад

    Wow It works perfectly, Thnx a lot !!

  • @Harshanalluru_3
    @Harshanalluru_3 8 лет назад

    thanks a lot..! worked like a charm..!

  • @amankumar-wm3sj
    @amankumar-wm3sj 6 лет назад

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

  • @venkatesha6378
    @venkatesha6378 7 лет назад

    great video , nicely explained

  • @luis96xd
    @luis96xd 6 лет назад

    Amazing video, I like it very much!

  • @peisou1
    @peisou1 8 лет назад +1

    made the voice recognition as a service, not as a activity xd

  • @IvanAranda
    @IvanAranda 8 лет назад

    Thank u it works awesome.

  • @ryankristofferbartolay8741
    @ryankristofferbartolay8741 5 лет назад

    Where can i get the images you used?

  • @nageshkulkarni146
    @nageshkulkarni146 7 лет назад

    hey dear nice video can u please make voice to action in android

  • @unnavaanurag
    @unnavaanurag 7 лет назад

    unfortunately the speechrecg app has stopped

  • @impossiblehousemarylandsta6266
    @impossiblehousemarylandsta6266 7 лет назад +1

    Wonderful thank you so much

  • @minaamir2648
    @minaamir2648 8 лет назад

    thanx

  • @sohailahmed7700
    @sohailahmed7700 7 лет назад

    can you provide free TTS (text to speech) library for android?

  • @shwankdl1859
    @shwankdl1859 8 лет назад

    hi i have same questions

  • @thorchh
    @thorchh 7 лет назад

    can you give us the commands?

  • @Hatazhix
    @Hatazhix 8 лет назад

    Does this work in android Wear, i mean this code?

  • @shubhambansal988
    @shubhambansal988 8 лет назад

    superb video
    thnk u😊

  • @JunaidKhan-sp8ch
    @JunaidKhan-sp8ch 8 лет назад

    hi,
    thanks for nice tutorial. i am facing a problem. when i click on mic button than activity not found exception is displayed. what i should to do?

  • @naay9studio453
    @naay9studio453 7 лет назад

    How can i add more language

  • @libyandeveloper372
    @libyandeveloper372 7 лет назад

    from where can i download apk?

  • @roynray6856
    @roynray6856 8 лет назад

    So much talent in India but still have no
    speech to text app for Indian regional languages. :(

  • @iqbalsurya77
    @iqbalsurya77 6 лет назад

    how to use another language?

  • @niyatipandit7353
    @niyatipandit7353 7 лет назад

    do you have the source code for this?

  • @ArunKumar-vv9ip
    @ArunKumar-vv9ip 7 лет назад

    i want to work this code in ellipse i can????

  • @aarthisridhar3830
    @aarthisridhar3830 9 лет назад

    can u please upload the demo source code ?

  • @superfax
    @superfax 6 лет назад

    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 .

  • @andhrabhanu
    @andhrabhanu 8 лет назад

    Thank You Mam

  • @kurraharishbabu
    @kurraharishbabu 8 лет назад

    please add source code for practicing

  • @toptinviet1905
    @toptinviet1905 8 лет назад

    thanks you. I like it

  • @shahman1
    @shahman1 8 лет назад

    Thanks alot

  • @shwankdl1859
    @shwankdl1859 8 лет назад

    thankyou

  • @abhignanm8577
    @abhignanm8577 9 лет назад +2

    Thank you mam,Priya I guess.

  • @trisetyadarmawan902
    @trisetyadarmawan902 7 лет назад

    Thanks :)

  • @everything8095
    @everything8095 4 года назад

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

  • @abhilashramteke3333
    @abhilashramteke3333 7 лет назад

    u r awesome!!!

  • @krishna0002
    @krishna0002 6 лет назад

    Good one Priya

  • @ramgorthi7497
    @ramgorthi7497 7 лет назад

    It says that I have 106 errors, but I followed what you did exactly...

    • @TechAcademy8
      @TechAcademy8  7 лет назад +1

      I apologize for replying late. I think you should try and rebuild your project. Just click on rebuild project and see if the errors are gone. If not then email me. I will help you out.

    • @ramgorthi7497
      @ramgorthi7497 7 лет назад +1

      Thank you. I managed to make it work. It was a problem with my version of my android studio I think. When I re-installed it, it worked.

  • @TechAcademy8
    @TechAcademy8  9 лет назад +2

    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 :ruclips.net/video/Cg7BVTk6r5E/видео.html
    2) Basic Android App :ruclips.net/video/q98NC73LEgI/видео.html
    3) Calculator App :ruclips.net/video/mrjOLG2Grt0/видео.html
    4) How to create a new activity :ruclips.net/video/-xljI2_TRZg/видео.html
    5) How to create a login form :ruclips.net/video/x6jQAaLz1O8/видео.html
    Find me here :
    Google+ : plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
    Twitter : twitter.com/AndroidAcademy1
    Facebook : facebook.com/AndroidAcademy8?ref=hl
    #android #speechtotext #speechrecognition #google #developer #androiddev #androiddevelopment #app #tutorial #howto

    • @watawonderfulworld
      @watawonderfulworld 8 лет назад

      I am new to android programming. 2 doubts: 1. MIT speech recognition needs Internet connectivity. Does your approach also require the android phone to be connected to Internet for speech recognition? and 2. Not all android phones support it, right?

  • @TechAcademy8
    @TechAcademy8  9 лет назад +1

    Shreenivas karanam - it won't work on emulator.
    Did you install the apk on your android device and tried it.
    If not then do that and even after that if it's not working then email me your code on techacademy8@gmail.com

  • @VictorNolochemical
    @VictorNolochemical 6 лет назад

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

  • @Tecnitr0nic
    @Tecnitr0nic 8 лет назад

    would you merry me?

  • @raaghavsharma378
    @raaghavsharma378 6 лет назад

    Abey rattu tota samjhayega kon be ?

  • @alisami2477
    @alisami2477 6 лет назад

    egymobiledeveloper.blogspot.com/

  • @SN0WY1855
    @SN0WY1855 6 лет назад

    I think your a kid

  • @PraveenSingh-cw7wm
    @PraveenSingh-cw7wm 5 лет назад

    waste

  • @statusgram8592
    @statusgram8592 3 года назад

    bhai agar ak se jyada edittext ho toh kya kare please