Skip to content
Home » Top 51 App Inventor Google Assistant Update

Top 51 App Inventor Google Assistant Update

Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To  Speech + Speech Recognition - Youtube

Hi, i wanna know how i can add google assistant to the app made from mit app inventor. I tried with speech recognizer but it is only google talk not google assistant. anybody please help me.

Google Assistant isn’t an app that you can download. It’s part of the Android operating system, much as Siri is part of iOS. If Google decides your phone can handle Google Assistant , you’ll get that as part of an Android OS update. Normally the way to ‘turn on’ another app from an AI2 app is to use the ActivityStarter to use intents to open the app ( Using the Activity Starter ) explains how to assess another app, but probably you can not do that with Google Assistant; you could try. You might have better luck with Google’s Voice access https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.voiceaccess&hl=en_US

You can build your own ‘Abdul Assistant’ using the SpeechRecognizer using If then else statements and filtering the speech stream. Look for key words and use them when found to use the SpeechRecognizer to do things.

Here are some examplesMake a list with speech recognition

Programming Your App to Make Decisions

Experiment with the SpeechRecognizer and you can build something ‘similar’ to Google Assistant.

i want OK google like OK_my name facility to open my personal assistant app please help me

@keltron_karakulam This link explains how to set up Google Assistant https://support.google.com/googlenest/answer/7126338?co=GENIE.Platform%3DAndroid&hl=en#:~:text=Set%20up%20%26%20manage%20apps%20for%20the%20Google,a%20sample%20list%20of%20things%20to%20ask.%20 .

The link says “Most apps for the Assistant don’t require linking and you can immediately start using supported voice queries. However, some apps require you to link the app account to your Google Account before you can use the service with your Google Assistant.” and it explains how to do it.

So, it might be possible to use the advice to open your personal assistant app. Try the advice and let us know if it works. Good luck.

i want OK google like OK_my name facility to open my personal assistant app please help me

See an answer on your original post in Google Assistant in Mit App Inventor

like jarvis /siri/alexa personal assistant how to create name

in my mobile

Hi and good morning everyone, I’m new to the forum, so please excuse me if I forget anything. I am an engineering student and a few months ago, I developed an app to automatically initiate a phone call to a registered number. Recently, I have been trying to launch this app with Google Assistant, but no luck. Google Assistant doesn’t recognize it. Any suggestions? Thank you.

Not likely.

Welcome Vitonofrio.

If you cannot use GoogleAssistant perhaps you can use the techniques inHOW TO: Program the native SpeechRecognizer for Continuous Dictation and to do things to create your app. You might use spoken commands to open an app by calling ActivityStarter to do something similar .using the SpeechRecognizer. See the section called Starting Other App Inventor Applications and Starting a Built-in Android Application from your App Inventor App in Using the Activity Starter

Let us know if that helps.

Hi Steve! Thank you for the helpful suggestion, I will try to modify the app using your advice

1 Like

I’ve built an app that calls the Google Assistant on a button push from Arduino. It’s working fine on Android 8, you push the button on the Arduino and the Google Assistant toast springs up in the foreground, not matter which app is currently in the foreground. IE the MIT App Inventor app (My App) doesn’t need to be in the foreground.

But on Android 12 you push the button and the Google Assistant toast only springs up when My App is in the foreground, the Arduino button push works if My App is in the background and when My App is brought to the foreground the Google Assistant toast then springs up waiting for the voice commands.

Below are the blocks I’m using any ideas would be most appreciated, I think it might be something to do with the manifest and declaring the apps I’m going to use with the intents, but I’m not sure? I have tried some edits to the manifest without success.

Had a look, that extension looks to be the other way round IE to run tasks in the background not from the background.

My App runs in the background fine, as when I press the Arduino button the text to speech which fires before the called App works fine if My app is in the foreground or not, its just the called app only fires once My App is in the foreground.

EG
My App is in the background, I press the Arduino button, the text to speech is heard, no sign of the called App, bring My App to the foreground, the called App fires without having to call it again.

It’s just waiting for My App to come to the foreground before it fires, weird or what…

Hi i have a problem i am trying to make speechrecognizer run with a word like google asistant with ok google how can i please

you might want to try the Voice Recognition Extension without Google Dialogue by ScorpioNormalyou can find the extensions directory here App Inventor Extensions | Pura Vida Apps

Taifun

Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Hi, I have a problem. I don’t know if you can help me.I am doing a virtual assistant with the extension that you told me so that it is always listening but after a while it is as if it is blocked or not listening.What it does is if what you hear is not a programmed command, it jumps a time of 1 second to start the spech recognition again in continuous mode and with no audio and if what it recognizes calls text to speech and executes an action and reactivate speechrecognition in continuous mode and without audio please if you can help me I would appreciate it

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Hi can you tell how to add ok google activation with block demonstration

Here is a way to access Google Assistant תחילת העבודה עם מענן לענן | Cloud-to-cloud | Google Home Developers using an Agent and Android Studio. I don’t think you can do that with App Inventor. Note this warning: Warning: You can’t launch commercial devices that integrate with the Google Assistant SDK. It’s available for experimental and non-commercial uses only.

Consider what you can do instead:

or You might find this useful HOW TO: Program the native SpeechRecognizer for Continuous Dictation and to do things

and a similar discussion תחילת העבודה עם מענן לענן | Cloud-to-cloud | Google Home Developers

Hello.I’m new and I don’t know much yet.I tried orginal SpeechRecognizer and it works.I tried ScSpeechRecognizer and okI tried TaifunSpeechRecognizer and it also shots.But there is a button everywhere.I don’t want a button.Run my application and always just ok google..Can I do it ?.

Without a Button? Did you follow the following advice?

No one can recreate OK Google and recreate Google’s program just with native Blocks You can, however, get a similar response … follow the tutorial and put the execution blocks into the Screen1.Initialization block and you might get close.

SpeechRecognizer and TaifunSpeechRecognizer can’t Ok Google.ScSpeechRecognizer has EnableGoogleDialog in the settings but it doesn’t work or I can’t set.This works.I don’t want to click the button.I want it to work as a google app.I launch the google app, say Ok Google and say the word.And still around.

Hello @Le_Ze

  • The MIT SpeechRecognizer control works fine without the Button and without the Google prompts. You do not need an extension. See the documentation SpeechRecognizer . Did you try the tutorial example?

    .

  • You seem to want the SpeechRecognizer to run continuously (even when the device screen goes to sleep). That is impossible without a StayAwake routine. App Inventor 2 apps do not run as a Service (in the background). Recently someone provided an extension that might allow that. The extension might work for you. I don’t know.

  • You can try using the MIT SpeechRecognizer using this code. It uses a StayAwake routine to inhibit the device screen from going to sleep. There are no Buttons. Perhaps you can adapt it to do what you want.

The green dots represent Blocks used to implement StayAwake.

What is very important is that you un-check the UseLegacy SpeechRecognizer block before you run the app. Otherwise, setting UseLegacy to false will not work. If you do not do this, you will see the Google prompts. You do not want to do that. This appears to be a Bug in the control. The UseLegacy must be set using the Designer Properties and not with Blocks.

SimpleSRcontinuous.aia (2.4 KB)

Does this example work? It is very simple; no error routines, the app just listens. You need to tell it to do something based on responses. Can it respond to a continuous very long speaking dialog? I do not know.

You have to provide that capability (Use the tutorial as an example).

Keywords searched by users: app inventor google assistant

Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To  Speech + Speech Recognition - Youtube
Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To Speech + Speech Recognition – Youtube
Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To  Speech + Speech Recognition - Youtube
Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To Speech + Speech Recognition – Youtube
Build Your Google Assistant Like Assistant App In Mit App Inventor 2  #Codingwithtnc - Youtube
Build Your Google Assistant Like Assistant App In Mit App Inventor 2 #Codingwithtnc – Youtube
Google Assistant Not Opening In Foreground Android V12 - General Discussion  - Mit App Inventor Community
Google Assistant Not Opening In Foreground Android V12 – General Discussion – Mit App Inventor Community
Google Assistant Not Opening In Foreground Android V12 - General Discussion  - Mit App Inventor Community
Google Assistant Not Opening In Foreground Android V12 – General Discussion – Mit App Inventor Community
How To Search The Web Using A Speech Recognizer And Read The Results Using  Tts - Mit App Inventor Help - Mit App Inventor Community
How To Search The Web Using A Speech Recognizer And Read The Results Using Tts – Mit App Inventor Help – Mit App Inventor Community
Voice Assistant In Mit App Inventor Powered By Chatgpt | Chatgpt Mit App  Inventor | #Openai #Chatgpt - Youtube
Voice Assistant In Mit App Inventor Powered By Chatgpt | Chatgpt Mit App Inventor | #Openai #Chatgpt – Youtube
How To Make A App Like Google Assistant In Mit App Inventor || - Youtube
How To Make A App Like Google Assistant In Mit App Inventor || – Youtube
Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To  Speech + Speech Recognition - Youtube
Create A Voice Assistant / Chatbot [Ai] || Mit App Inventor || Text To Speech + Speech Recognition – Youtube
How To Make An Ai Assistant App In Mit App Inventor Ll To Access Google,  Wiki & Youtube At A Time - Youtube
How To Make An Ai Assistant App In Mit App Inventor Ll To Access Google, Wiki & Youtube At A Time – Youtube
Điều Khiển Thiết Bị Bằng Mit App Inventor Sử Dụng Nodemcu Esp8266 | Arduino  Kit
Điều Khiển Thiết Bị Bằng Mit App Inventor Sử Dụng Nodemcu Esp8266 | Arduino Kit
Speech Recognizer Component Without Google Speech Dialog || Mit App Inventor  || Without Extensions! - Youtube
Speech Recognizer Component Without Google Speech Dialog || Mit App Inventor || Without Extensions! – Youtube
Điều Khiển Thiết Bị Bằng Mit App Inventor Sử Dụng Nodemcu Esp8266 | Arduino  Kit
Điều Khiển Thiết Bị Bằng Mit App Inventor Sử Dụng Nodemcu Esp8266 | Arduino Kit
Google Assistant - Wikipedia
Google Assistant – Wikipedia
Mit App Inventor - Wikipedia
Mit App Inventor – Wikipedia

See more here: kientrucannam.vn

Leave a Reply

Your email address will not be published. Required fields are marked *