Hello, I would like support from a developer, and I seriously need some way to be able to create or use a results reader in the web viewer, since google's own results reader for some reason does not work in the web viewer If someone could please help me, I would greatly appreciate it.
Please, more information about "google's own results reader", provide links, website ?
No, I mean a way to read the results offered by google, that is, read the first result obtained.
Ah, search results
What url parameters are you using, give an example....
You can use Google search APIs; note that they won't be free, though.
You can attempt to use the Web component, and scrape the text of the responseContent.
You would have to grope your way past the headers and ads, and hope you don't encounter JavaScript along the way.
Web content providers hate scrapers, and they don't make things easy for them.
I don't understand what do you mean?
Unfortunately it does not allow to use the google text reader tool in any way, what I mean is that I need to somehow make my application read the google search results, either through google itself or through some tool. mit app inventor.
How could I use a google api in mit app inventor?
The android/AppInventor webviewer is not Google Chrome.
You can always call out to Google Chrome using the activityStarter in the hope that these reader tools are available.
This might help.
You need a Google API key
100 free searches per day
Might be possible to use the resulting json with TextToSpeech block to read individual searches.
What I need is precisely that, a way to be able to use the TextToSpeech to read search results.
Use the Web component to get the JSON data from the link Steve provided. Then use the same component to turn the JSON data into dictionaries, then get the values of the search results from the dictionary. Then, you use TextToSpeech to read the search results out loud.
A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .
Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Fantastic explanation but if the instructions are inside a PDF file for those who do not know English, it will be difficult to translate the text