I am creating a mobile application. I was wondering if it is possible to make a voice input like ok google.
I found a script https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API but I've no idea how I can integrate this script in polymer way.
Thanks.
Related
enter image description here
While I'm building a chrome extension, I want to implement a button in a new tab of chrome.
(as shown in picture, just like the original new tab has.)
I thought there must be a way, something like Google API or webpack.
But even after I spent 3 hours of searching, I couldn't find it.
And I've also tried to inspect other extensions in the store,
but the codes were too complicated to beginner like me.
So I decided to build it manually with tags and icons.
Am I on the right track?
or Is there any API or webpack?
I am currently developing a google calendar add on . And I need to access the DOM of the current active page from the add On
I need to know how to get the DOM element in app script for google add on
Problem
Unfortunately, at the day of this answer there is no functionality in Apps Script to get the DOM of any site.
Workaround
Try using a chrome addon as these might let you get the DOM of sites. Here you can find out more about chrome add ons.
I hope this has helped you. Let me know if you need anything else or if you did not understood something. :)
I trying develop an extension to remapping own keyboard input method for my project. But i realize that my keyboard input method doesn't work inside google docs for chrome/chromium. I want to ask is it anyway to create an chrome IME extension like Google Input Tools which able to directly use chrome extension to type the language input method following the input method we choose in the extension but not in google docs? Like in mac we can use Ukelele(Mac OS X Keyboard Layout Editor) to create and remapping our own style keyboard layout(which can use in ipage too!).
If there is a way is it possible to share out. Thank you!
I'm mainly an AS3 coder and I know Java fair enough to be able to build my own ANE files for Vibration, Toast, dialogs and that simple stuff...
using air native extensions are cool but I'm getting a bit disappointed not being able to create a simple button with it.
I know creating a simple native button is a silly thing to do as it is very easy to create buttons in air directly but I'm using it as an example.
So the question is that is it possible to create .ane for calling native Button in android? at all?
it seems like I can't create any .ane files rather than abstract tools like push notifications or popup like windows like progress bars and dialog boxes.
is it right to say that a simple native button cannot be created with air native extensions?
for those who wondering why a simple button cannot be called with extensions, read http://adobe.com/devnet/air/articles/extending-air.html (scroll down to Limitations) where it says: Extensions cannot directly integrate interactive objects, such as native UI controls, with the display list. (Other items, such as native dialog boxes, may work, depending on the platform.)
I'm trying to figure out how can I add a button to the Gmail compose window.
In "Gmail Labs" they have some extensions that add certain buttons For example "Send & Archive" button and "Inserting images" button, so I assume this is possible.
I checked their API here and it seems that you can either add a gadget to left sidebar or use contextual gadgets that are dependent on the message context. I'm looking for a way to add a button to the toolbar of the compose window, and both options don't seem to support it.
Do you know how can this be done?
If it's not possible using Gmail API, is there another way I can achieve this? Maybe by creating a Google Chrome extension or user scripts?
I would appreciate any info that can direct me in the right direction.
Thanks.
The Gmail Labs have special permissions because they are written by Google Employees, unfortunately we mortals don't have such power. There is a way around it of course and you've correctly pointed out that it is to make a Chrome Extension or a UserScript. If you choose to do a Chrome Extension it will just be a wrapper for a UserScript anyway
You will have to create and inject the button programmatically. This will involve quite a bit of scouring the Gmail source code (spoiler: it's ugly).
Without more details about what you want to do, I won't be able to provide much more help but I can help you with one problem right away. You have to make your script wait until the Gmail loading process is done which is a bit of a challenge. This is the solution I'm currently using in Minimalist:
function bootstrap() {
target = document.querySelectorAll('.vt:not(.SFzvCe)');
if (document.querySelectorAll('html.xiu1Fc, html.aao')[0] == null) {
return;
}
if (target.length > 0) {
// loaded, do stuff
} else {
window.setTimeout(bootstrap, 200);
}
}
window.addEventListener('DOMSubtreeModified', bootstrap);
That version waits for the chat to fully load. Let me know if you have any other questions: #anstosa
You can use InboxSDK for that.
Here is documentation link
Also you have a Hello world repo, where is a solved your problem
hello repo