It's really helpful, thanks 🙌 Kiya ap aik video or bana skty hain jismy voice listening ko Voice sy hi activate krskty hon, like Google assistant ko open krny k liye "Ok Google" bolty hain or wo activate hojata hai.
@adideshmukh1995
3 жыл бұрын
Thank you for the video & really fascinating to see what all we can do with this. Sir, I am currently one small personal project around voice assistant, but I need a bit of your expertised guidance around invoking the recording action, I have 2 options 1. auto record audio command (no start/stop button) as soon as the app is opened manually 2. auto start the app using a voice command like hey google & then give further inputs (but I want this customized & to even work when offline) Thanks a lot for helping & inspiring the community sir :)
@catalan6300
4 жыл бұрын
Thanks for your information, I see you from Guatemala!
@TechnicalYarana
3 жыл бұрын
sir i want create a app using google assistant how use google assistant and how to sene voice commond in firebase database
@ProgrammerWorld
3 жыл бұрын
I don't think you can directly call google assistant services or APIs directly from your App. Google assistant is Google's own App and I don't think they will share the services with other Apps on the phone. However, you can easily build your own assistant App. You can use AI technology to make it smart and more responsive. A small preview of this is shown in the below page: programmerworld.co/android/how-to-create-a-personal-voice-assistant-android-app-to-create-a-text-file-complete-source-code/ Cheers Programmer World programmerworld.co -
@TechnicalYarana
3 жыл бұрын
@@ProgrammerWorld Thank You So Much Sir Let Me check Sir Can You Create A Video For This 🙏🙏
@nkeditz2246
4 жыл бұрын
Hello sir you can connect your phone in laptop using vysor application for display the output Thanks
@ProgrammerWorld
4 жыл бұрын
Thanks for the suggestion. For next videos, we will try to show the execution on the real phone with the display shown on the video. Thanks. Cheers Programmer World programmerworld.co -
@zaheraabuhantash9146
4 жыл бұрын
Thanks for this video, but I want to know how can I know if there is no speech recognized?
@ProgrammerWorld
3 жыл бұрын
If no speech is recognized then the code should hit the Error method and you can code your functionality in this method as shown below: @Override public void onError(int i) { } For reference, complete source code is available in the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Cheers Programmer World programmerworld.co -
@zaheraabuhantash9146
3 жыл бұрын
@@ProgrammerWorld thanks a lot it works! but I have anthor question, I do not need the buttons I need to run it for little time I try some code but it does not listen to the speech it considers that I don't say anything could you help me, please?
@TechnicalYarana
3 жыл бұрын
sir how i send this value another device using bluetooth module hc 05 please sir tell me
@alphatube1173
3 жыл бұрын
Sir you save me from 8 month to 30 minute....thank you ...but now i want your help in sound amplifeir hearing aid
@rakeshitagi9352
3 жыл бұрын
how to open actvity using the voice assistant in android studio ..plz help me
@ProgrammerWorld
3 жыл бұрын
I think in the onResults method, any logic can be implemented. So, for calling an activity, just implement that in the below method: public void onResults(Bundle bundle) One such use case is shown in the below by creating a text file: programmerworld.co/android/how-to-create-a-personal-voice-assistant-android-app-to-create-a-text-file-complete-source-code/ For example on opening activities, below links can be helpful: programmerworld.co/android/how-to-call-or-dial-a-phone-number-from-your-own-custom-android-app-complete-source-code/ programmerworld.co/android/how-to-open-and-send-email-using-the-native-client-directly-from-your-android-app-source-code/ Cheers Programmer World programmerworld.co/ -
@anubhavrdasgupta447
3 жыл бұрын
How can I control going to next page and clicking on a button by voice?? Can you help please.
@ProgrammerWorld
3 жыл бұрын
I think in the onResults method, simply go to the next layout page instead of printing the text as shown in this video. Thus, something like below can be done: public void onResults(Bundle bundle) { ArrayList matches = bundle.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION); String string = “”; if(matches!=null){ string = matches.get(0); textView.setText(string); if(string=="Next Page"){ setContentView(R.layout.secondlayout); } } Part of the above code is taken from the below page: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ For complete tutorial on navigating to different layouts/ pages, one can refer to the below link: programmerworld.co/android/how-to-create-multiple-layouts-and-menu-items-in-your-android-app-switch-layout-and-exit-menu-options/ Cheers Programmer World programmerworld.co -
@akshatsingh5086
4 жыл бұрын
Thanks Sir
@xiaomingniu1079
4 жыл бұрын
hi, what is the accuracy of this voice recognition?
@ProgrammerWorld
4 жыл бұрын
I think this code uses SpeechRecognizer API, which translates the speech to text using Android OS APIs. So, I think the accuracy will be as good as the Android/ google provides at the OS level. The source code of this tutorial can be referred at the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Cheers Programmer World programmerworld.co -
@xiaomingniu1079
4 жыл бұрын
So do you mean different phones have different accuracies? I do not see the source code give us any information about its accuracy.
@ProgrammerWorld
4 жыл бұрын
You can say that different Android versions may have different sensitivity. Phones apart from OS is only differentiated on mic quality/sensitivity. But I assume mic will hardly have much influence on the output as more or less all phones have similar mic these days. Good Luck Programmer World programmerworld.co -
@xiaomingniu1079
4 жыл бұрын
Programmer World Wow thanks for your response. Your explanation is as good as your video. I am just wondering is this a good solution that we can use in proprietary Android App? If so, there is no reason that a lot of companies are developing phone speech recognition methods.
@alphatube1173
3 жыл бұрын
sir i think you have an experience on sound amplifier hearing aid so help me ...i will present my final project after 2 weeks ..so help me the source code ...
@ezstudio3d
4 жыл бұрын
do you know how to use the google assistant voice recognition?
@ProgrammerWorld
4 жыл бұрын
Just check if below video helps in answering your query: kzitem.info/news/bejne/pW1m04eag6eCiqQ Cheers Programmer World programmerworld.co -
@sunildubey3305
3 жыл бұрын
Sir I tried this but as soon as I click on the button, the app gets closed every time, why is this? please help 🙏🏻
@ProgrammerWorld
3 жыл бұрын
The moment you click the Start button, it calls the startbutton method in your code. Now, in this method it invokes speechRecognizer and calls startListening method to start the listening process by the App. My guess is that most likely speechRecognizer object is not created or initialized properly in your App before it is being invoked. Please check if the below lines of code are there in your onCreate method (or any other method preceding the startListening call): speechRecognizer = SpeechRecognizer.createSpeechRecognizer(this); speechRecognizer.setRecognitionListener(new RecognitionListener() If yes, then I will suggest to debug the code and check at which line it is crashing. If you can let us know the point or line of code where the App is failing we will be able to help better. For reference, the complete source code shown in this tutorial is also shared in the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Cheers Programmer World programmerworld.co -
@tamastarisnyas1191
2 жыл бұрын
Hi there, unfortunately, it does not recognize anything.
@ProgrammerWorld
2 жыл бұрын
What is the error or exception it is throwing? I hope you have used correct locale settings for it to recognize your voice. For reference, the complete source code shown in this tutorial is also shared in the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Cheers Programmer World programmerworld.co -
@alphatube1173
3 жыл бұрын
OMG Sir you save me thank you very much .....but i want sound amplifier hearing aid application source code .so can you help me full source code
@Xx_justchilling_xX
4 жыл бұрын
the code Void is not working ?? when I type void its being replaced with fun() !!! whats this , I'm losing my mind in coding nothing is correct the way u tell us to do
@ProgrammerWorld
4 жыл бұрын
Just a hint, the complete source code of this tutorial is shared at the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Please refer to it and let me know if it helps. Good Luck Programmer World programmerworld.co -
@alphatube1173
3 жыл бұрын
sir can you help me on sound amplifer hearing aid usind androis
@ProgrammerWorld
3 жыл бұрын
Please check my below link. It should help in augmenting the sound: programmerworld.co/android/record-and-play-the-sound-simultaneously-live-stream-over-bluetooth-speaker-in-your-android-app/ Make sure to adjust the "editTextGainFactor" variable for the amount of amplification needed. Good Luck Programmer World programmerworld.co -
@alphatube1173
3 жыл бұрын
@@ProgrammerWorld Thank you so much sir....but how i adjust "editTextGainFactor" variable ..help me
@coolguy9236
4 жыл бұрын
Sir Can we make a IVR system to handle our calls
@ProgrammerWorld
4 жыл бұрын
Yes, I think we can use this concept to make an IVR system for call handing. You can watch my below video, if required, to know how to handle phone calls APIs from your Android App: kzitem.info/news/bejne/lX6huqaJpItyhGk Good Luck Programmer World programmerworld.co -
@john20johnny
3 жыл бұрын
Hi, thank you for your tutorial. I have a question do you know how to record user voice in an activity only when he starts talking?
@ProgrammerWorld
3 жыл бұрын
I think you should use onBeginningOfSpeech method from the speechRecognizer.setRecognitionListener to do your task when a user starts talking. The source code of this tutorial can be referred at the below link: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Just for information, for recording the voice one can follow below approach as well: programmerworld.co/android/record-and-play-the-sound-simultaneously-live-stream-over-bluetooth-speaker-in-your-android-app/ Cheers Programmer World programmerworld.co -
@john20johnny
3 жыл бұрын
@@ProgrammerWorld Thank you for replying. I'm working on your shared links. Appreciate again ☺️☺️
@pasindukeshan7277
4 жыл бұрын
Sir can you give a code for opening dial pad using voice command?
@ProgrammerWorld
4 жыл бұрын
Try my below video: kzitem.info/news/bejne/lX6huqaJpItyhGk It may help. Good Luck Programmer World programmerworld.co -
@pasindukeshan7277
4 жыл бұрын
@@ProgrammerWorld thank you
@eFortsHub
4 жыл бұрын
hi, it's not continious, I need one tutorial on custom speech recognition for in app calling
@ProgrammerWorld
4 жыл бұрын
You can check my below video for the same. kzitem.info/news/bejne/xalu1pmkcYxhmY4 Cheers Programmer World programmerworld.co -
@alphatube1173
3 жыл бұрын
sir thank you for your giving the video for my project ..but the sound have noise...so can you give me the source code for noise filter in android studio
@TheFirefighter1971
4 жыл бұрын
Screen is too small, can’t read a word. Thanks for ur effort anyways
@ProgrammerWorld
4 жыл бұрын
Thanks for your inputs. Will try to use a zoomer or enlarger applications next time while recording. Cheers Programmer World programmerworld.co -
@hemanthkumar9723
4 жыл бұрын
sir can u share source code about listening the voice commands in background after the app is closed
@ProgrammerWorld
4 жыл бұрын
For the voice command code shown in this video, you can get the source code at: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ If you want to keep listening in the background then you will have to create a foreground service for your App. The code for the creation of the foreground service can be found at: programmerworld.co/android/how-to-create-foreground-services-and-notification-in-your-android-app/ programmerworld.co/android/create-a-stop-watch-or-counter-using-broadcast-and-notification-in-foreground-service-in-android/ Hope the above helps. Good Luck Programmer World programmerworld.co -
@sanjayamadhusanka3558
4 жыл бұрын
Sir i tried , but no any output,no errors
@ProgrammerWorld
4 жыл бұрын
Hmm ... without any error it will be tough to anticipate what is going wrong. I will suggest try to debug the code and check. If required, you can refer to the below link for compete source code shown in this video: programmerworld.co/android/how-to-give-voice-command-to-your-phone-from-your-custom-android-app-to-perform-certain-operations/ Cheers Programmer World programmerworld.co -
@sanjayamadhusanka3558
4 жыл бұрын
Thank you sir..
@alphatube1173
3 жыл бұрын
sir thank you for your giving the video for my project ..but the sound have noise...so can you give me the source code for noise filter in android studio
@sergeykeyroot7773
3 жыл бұрын
Охуенно я щитаю. Поверьте на слово . Это работает.
@galactic904
3 жыл бұрын
I give up after step 167 :(
@ProgrammerWorld
3 жыл бұрын
Could you let us know the error or issue you are getting? It will help others in the development community. Cheers Programmer World programmerworld.co -
@dokgagabe
4 жыл бұрын
Does not work though
@ProgrammerWorld
4 жыл бұрын
Why, what is the error you are getting? Cheers Programmer World programmerworld.co -
@dokgagabe
4 жыл бұрын
Sir, I think you forgot something. You button is not included to the code. Or did i just misdirect? Hahhahaha
Пікірлер: 61