Speech To Text - Android Studio - Java

  Рет қаралды 54,957

Atif Pervaiz

Atif Pervaiz

5 жыл бұрын

Android has a builtin feature i.e Speech To Text through which we can provide Speech input to your app.
In this video we will use this feature to take Voice input and convert it to a plain text and then set that plain text to a TextView.
Buy Me a Coffee: paypal.me/atifsayings
Watch For Kotlin: • Speech To Text - Andro...
Feel free to comment in case of any problem
Chanel:
/ mohammadatif1
Websites:
technifysoft.com/
devofandroid.blogspot.com
Apps/Games on PlayStore:
play.google.com/store/apps/de...
If u like this video, Like, Comment, Subscribe to support us...

Пікірлер: 116
@nathanisrael6211
@nathanisrael6211 3 жыл бұрын
Tnx so much .I was searching for this tutorial to make an app that I have been thinking
@vladsakun6904
@vladsakun6904 4 жыл бұрын
Perfect video. Thanks !
@asifbinlatif
@asifbinlatif 4 жыл бұрын
Thank you for the tutorial...
@olehmazur5755
@olehmazur5755 4 жыл бұрын
Thanks a lot, it works perfect for me.
@egiaggata6219
@egiaggata6219 5 жыл бұрын
Thanks for your tutorial :)
@AtifSayings
@AtifSayings 5 жыл бұрын
You're welcome
@petarheinrich8318
@petarheinrich8318 4 жыл бұрын
sample and useful.
@ionita8345
@ionita8345 5 жыл бұрын
Thank you very much!!!!! ^_^
@saikatdas7277
@saikatdas7277 Ай бұрын
Thanks !
@AtifSayings
@AtifSayings Ай бұрын
Welcome!
@nelsonantonio5870
@nelsonantonio5870 5 жыл бұрын
Thanks a lot !!
@philm2k1
@philm2k1 4 жыл бұрын
Thanks a lot, it works perfect for me, too.
@AtifSayings
@AtifSayings 4 жыл бұрын
You're welcome
@bavi436
@bavi436 4 жыл бұрын
Mic button is not even clicking for me .....can you help me
@deepak5283
@deepak5283 4 жыл бұрын
@@AtifSayings how to add voice message feature for chat app in andriod by using java .any api or packages available for this process pls help me
@emirk8064
@emirk8064 3 жыл бұрын
thanks mate!
@ad_am_t
@ad_am_t 5 жыл бұрын
Thank you (-:
@marouaneazza3519
@marouaneazza3519 4 жыл бұрын
Thanks a lot
@Smoothballoon
@Smoothballoon 4 жыл бұрын
So i want to take the text line from the speech and save it seperately in a string...pls tell me how can i do it??
@abrancaeopreto4669
@abrancaeopreto4669 3 жыл бұрын
hello all right, congratulations on the video, can you help me? I wonder if there is any method for me to control the end of speech-to-text, instead of being automatic as dialogues.
@iu5hes
@iu5hes 3 жыл бұрын
that would be great if we could have a delphi/android component for doing this...but that's another story :°(
@suhaibshanaa508
@suhaibshanaa508 4 жыл бұрын
hello , first Thank You very much but a want to ask you the result from voice does not print in textview how i can make this ?
@amirmohammed3291
@amirmohammed3291 5 жыл бұрын
Thank you
@AtifSayings
@AtifSayings 5 жыл бұрын
You're welcome
@subagarail4321
@subagarail4321 5 жыл бұрын
super working
@user-jf6xz6sh1k
@user-jf6xz6sh1k 4 жыл бұрын
I call a context menu on a drawable folder but don't get as much file types as in the tutorial at "New". Particularly there is no Vector Asset. How can I manage it to appear or create it in a different way? Do I need to install some additions for it to appear?
@user-jf6xz6sh1k
@user-jf6xz6sh1k 4 жыл бұрын
I used other Android version. It is said that "Android 4.4 (API level 20) and lower doesn't support vector drawables [directly]" in Android Studio - Vector Graphics docs. Seems like this context menu item was moved to be created in a different way.
@vishalagarwal3741
@vishalagarwal3741 4 жыл бұрын
Hi I am getting an error on case REQUEST_CODE_SPEECH_INPUT It states Constant expression required
@yildiz.mehmetemin
@yildiz.mehmetemin Жыл бұрын
thanks from 2023 😀😀
@hasanalsayyed914
@hasanalsayyed914 4 жыл бұрын
i love youu 😍❤
@hasanalsayyed914
@hasanalsayyed914 4 жыл бұрын
as a programmer LOL 🧐🤓😅
@ruiferreira4920
@ruiferreira4920 3 жыл бұрын
Hi, Can you help me? When I speak it don´t recognize voice, what´s the problem? Thank you.
@serdarymz
@serdarymz 4 жыл бұрын
Thanks for video bro. Can we use this for commercial purpose? I mean publishing on Play Store with advertisements or sell this app ? Google dialog makes me confused
@AtifSayings
@AtifSayings 4 жыл бұрын
Yes sure, I've used it in some of my projects that are on playstore
@nitishkrboro6264
@nitishkrboro6264 3 жыл бұрын
@@AtifSayings what is the name of app..I am excited to download....& thank you for this tutorial
@corruptedgripht9941
@corruptedgripht9941 3 жыл бұрын
¡Thank u !
@AtifSayings
@AtifSayings 3 жыл бұрын
You’re welcome
@ROGUEOFFICIALPH
@ROGUEOFFICIALPH 5 жыл бұрын
Good day! Can i ask a question? Can it be offline? How to use it without internet. Because I tried to use it and when I click the mic button it said there that Offline Mode Unavailable. Can you help me? This is very important because I am using it for my research. Thank you!
@AtifSayings
@AtifSayings 5 жыл бұрын
i didn't tried for offline, but this is online
@hotshot2472010
@hotshot2472010 4 жыл бұрын
i'm not sure if it can be used offline because it has to connect to google to do the speech recognition
@bugrahanbal1716
@bugrahanbal1716 3 жыл бұрын
Hello, first of all thank you very much, I have a question I wonder that when we click mic we can see "Hi speak something " and google icon, how can I hide this pop up window ? Thank you
@AtifSayings
@AtifSayings 3 жыл бұрын
Its library by google that's why it appears like this and mlat probably not hide able
@ozairkhan7639
@ozairkhan7639 5 жыл бұрын
salam bahi. i want to ask that when i speak it dont response mean when i speak it dont write text. will i used to enable google API for it.
@AtifSayings
@AtifSayings 5 жыл бұрын
WaAlaikumAssalam Did you followed video step by step?
@amritakumari369
@amritakumari369 4 жыл бұрын
It is not showing the text after speech disappears on the main screen
@aryanbhaskar7872
@aryanbhaskar7872 3 жыл бұрын
Is it possible to receive voice without internet if yes then how..?
@anwerammar6021
@anwerammar6021 3 жыл бұрын
please , i need to know is that free ? , if i use that in video call app ? because i found on google cloud website , i have to pay if i use it for more than 60 mins but it didn't ask for a keyy
@prototipehellocode7240
@prototipehellocode7240 5 жыл бұрын
Hello Atif Pervaiz Can I ask a question ? how to make TTS app but we don't need to use intent method in java ? So we can immediately show the text without click the button component
@AtifSayings
@AtifSayings 5 жыл бұрын
sorry, didn't tried yet. but, will try to make video on that
@prototipehellocode7240
@prototipehellocode7240 5 жыл бұрын
@@AtifSayings Oke thanks, i hope you'll make it soon
@ahmaddanish2664
@ahmaddanish2664 2 жыл бұрын
hey there. I have followed all of the steps from this video. however, i have got a problem here. when i tried to speak, the microphone did not detect my voice and also did not capture the words every time i speak. at the same time, there were no errors inside my code. can you help me please ?
@alokgohiya
@alokgohiya Жыл бұрын
You need to give microphone permission in manifest file
@jimmyclerge5535
@jimmyclerge5535 5 жыл бұрын
Hello! thank your video. If speech-to-text feature is not yet available on google for my language (haitian creole), it is still possible to create it. I don't know if there is a way I can create my own data base for the language. Thank you again for your help.
@rituparnaroy0811
@rituparnaroy0811 4 жыл бұрын
what are the libraries you have imported in import section?
@shakilali4124
@shakilali4124 4 жыл бұрын
Hello, thanks for the video. I followed step by step and finished, however, I get a red underline on my 'onActivityResult' function. Do you know why this may be happening?
@vivekchauhan7680
@vivekchauhan7680 4 жыл бұрын
you should paste this in onActicityResult super.onActivityResult(requestCode, resultCode, data);
@HuynhThanhThuan
@HuynhThanhThuan 4 жыл бұрын
I have a problem: no Activity found to handle Intent (act = android.speech.action.RECOGNIZE_SPEECH) has extra, May you help me with my problem, Thank you ?
@HuynhThanhThuan
@HuynhThanhThuan 4 жыл бұрын
@@sixrezon Do you have facebook account ? I need more information, please !
@frnds_-hd8wn
@frnds_-hd8wn Жыл бұрын
i have a problem when i type - value: "hi, say somethin"
@ariisnaeni114
@ariisnaeni114 3 жыл бұрын
How you connect to google voice to text api.?
@marcoycaza1920
@marcoycaza1920 5 жыл бұрын
Hey , thanks! Btw. how can I disable the Google Toast that appears at the end???
@AtifSayings
@AtifSayings 5 жыл бұрын
sorry, i don't know
@marcoycaza1920
@marcoycaza1920 5 жыл бұрын
I found the way , you have to go "Settings -> Notifications -> And disable notifications for Google" .
@mriduldubey6060
@mriduldubey6060 4 жыл бұрын
@Marco Ycara Lengua bro i tried it but was not able to get it done can you please help me
@dizaulia
@dizaulia 3 жыл бұрын
hello can you help me sir, when i following step by step and running in my phone it works, but when i click mic button the mic page doesn't come out. when i keep clicking the mic button, the app stops.
@poisedhoneii5524
@poisedhoneii5524 3 жыл бұрын
Try connecting a real device instead of the emulator
@le-ze8543
@le-ze8543 3 жыл бұрын
Where is source code? I was looking for your Web site and found
@divyasrivastava495
@divyasrivastava495 3 жыл бұрын
I am not getting result in textview
@albertocassio2854
@albertocassio2854 3 жыл бұрын
startActivityForResult() is deprecated. How to change?
@akarshsinghal9673
@akarshsinghal9673 2 жыл бұрын
hey did you figure it out?
@bayanalmoqati715
@bayanalmoqati715 2 жыл бұрын
Is it possible to hide the window that appears when it picks up sound" hi speak something"?
@AtifSayings
@AtifSayings 2 жыл бұрын
I think no. But you may check their documentation for confirmation
@fatimaafifi2210
@fatimaafifi2210 5 жыл бұрын
How I can let the app support another language to be the text in it?
@AtifSayings
@AtifSayings 5 жыл бұрын
i didn't tried that check documentation of the library to check if it supports other languages or not
@kanuengnijkubola7125
@kanuengnijkubola7125 4 жыл бұрын
I got error "Network not connected". What should be fixed? Thank you.
@AtifSayings
@AtifSayings 4 жыл бұрын
It may require working internet connection
@hashaamkhurshid3614
@hashaamkhurshid3614 5 жыл бұрын
Heloo bro. Is there any way to develop speech recogination app for urdu language.
@AtifSayings
@AtifSayings 5 жыл бұрын
i don't know yet
@zaheraabuhantash9146
@zaheraabuhantash9146 3 жыл бұрын
Thanks for this video, but I want to know how can I know if there is no speech recognized?
@gwyrabebeamba
@gwyrabebeamba 10 ай бұрын
Qual IDE É UDADA?
@bawanBJQ001
@bawanBJQ001 4 жыл бұрын
in my APP says network not connected what should I do?
@bawanBJQ001
@bawanBJQ001 4 жыл бұрын
It works on phones Thanks
@nr9590
@nr9590 4 жыл бұрын
i dont want to view of google assistant
@preranaattarde8297
@preranaattarde8297 4 жыл бұрын
I got "Network not connected error" what should i do????
@AtifSayings
@AtifSayings 4 жыл бұрын
It may requires working network conncetion
@d3zar
@d3zar 4 жыл бұрын
is there any way to make this without start runonactivityforresult ?
@AtifSayings
@AtifSayings 4 жыл бұрын
I think no
@vishalagarwal3741
@vishalagarwal3741 4 жыл бұрын
Is it possible to copy the text or how can we download the test from app.
@AtifSayings
@AtifSayings 4 жыл бұрын
android:textIsSelectable="true Add this property in your edittext or textview xml to make its text selectable
@arunabhbisht2311
@arunabhbisht2311 5 жыл бұрын
how do you run in simulator
@AtifSayings
@AtifSayings 5 жыл бұрын
Install AirDroid or Vysor to display/control your android device on laptop/pc screen
@NN-dq2rj
@NN-dq2rj 9 ай бұрын
your audio will be sent to google???? wtf?? why?
@AtifSayings
@AtifSayings 9 ай бұрын
Ask google 😁
@rahaf6487
@rahaf6487 3 жыл бұрын
Does it support the Arabic language?
@nishmithashetty9760
@nishmithashetty9760 5 жыл бұрын
Nothing is happening on click it's not even clicking on the mic button only displaying the button
@bavi436
@bavi436 4 жыл бұрын
Same problem bro
@Sweeter83888
@Sweeter83888 3 жыл бұрын
The same problem
@anuragkumargupta7506
@anuragkumargupta7506 5 жыл бұрын
How to save text into textfile
@AtifSayings
@AtifSayings 5 жыл бұрын
kzfaq.info/get/bejne/f5eWf7Spyd7Im2g.html
@gwyrabebeamba
@gwyrabebeamba 10 ай бұрын
QUAL A IDE?
@shijinrejiabraham6806
@shijinrejiabraham6806 3 жыл бұрын
How it give feedback answers
@AtifSayings
@AtifSayings 3 жыл бұрын
Didn't get what exactly you want to say, elaborate
@shijinrejiabraham6806
@shijinrejiabraham6806 3 жыл бұрын
@@AtifSayings how to make a voice assistant
@Origamiztec
@Origamiztec 4 жыл бұрын
Make sure to have these packages imported at the top to make it work: package ad3d.com.speechtotext; import android.speech.RecognitionListener; import android.speech.RecognizerIntent; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.ImageButton; import android.view.View.OnClickListener; import android.speech.tts.TextToSpeech; import android.content.Intent; import android.widget.Toast; import java.util.ArrayList; import java.util.Locale;
@Flutter_Senpai
@Flutter_Senpai 4 жыл бұрын
how to import them
@subulwasitimela3334
@subulwasitimela3334 4 жыл бұрын
Is there anyway of connecting speech recognition to image recognition
@lancelottheknight7126
@lancelottheknight7126 4 жыл бұрын
Hi there, will this work without internet sir?
@AtifSayings
@AtifSayings 4 жыл бұрын
I think yes since it uses google's builtin speech to text
@lancelottheknight7126
@lancelottheknight7126 4 жыл бұрын
Atif Pervaiz thank you very much sir, I was hoping that it wont need internet for the speech recog to work because we dont have internet access always here in my country 😅
@mansisuchak7436
@mansisuchak7436 3 жыл бұрын
NO VOICE
@nr9590
@nr9590 4 жыл бұрын
can you help me
@AtifSayings
@AtifSayings 4 жыл бұрын
How may i help you
@xala_ayman01
@xala_ayman01 3 жыл бұрын
please link source?
@AtifSayings
@AtifSayings 3 жыл бұрын
Not confirm but may be available on my blog devofandroid.blogspot.com
Animation between Activities - Android Studio
6:32
Atif Pervaiz
Рет қаралды 26 М.
Speech To Text in Android | Java  | Android Studio Tutorial - Quick + Easy
15:59
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
Text Recognition App - Android Studio - Java
45:32
Atif Pervaiz
Рет қаралды 81 М.
A Day In The Life Of A Software Engineer At Airbnb
3:07
Life of Luba
Рет қаралды 1 МЛН
I Built a Personal Speech Recognition System for my AI Assistant
16:32
Best Free Speech-To-Text APIs and Open Source Libraries
7:33
AssemblyAI
Рет қаралды 184 М.
Text To Speech - Practical Demo - Android Java
6:55
Dr. Parag Shukla
Рет қаралды 10 М.
Android Speech to Text Tutorial
17:59
Simplified Coding
Рет қаралды 33 М.
How to make a DIY stylus  in 3 minutes!! for tablet/phones
2:41
8x8x8 LED CUBE WITH ARDUINO UNO
6:46
HARRY LE
Рет қаралды 15 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27