Is there a way to make phone numbers clickable in Google Docs similar to MS Word like here?
Please note that this can be done in Google Sheets using:
=HYPERLINK("tel:1234567890", "Call Me")
I am asking for Docs.
Thank you.
Google Docs now supports call/telephone links by adding a hyperlink with tel followed by the phone number.
Example
U.S. - tel:1234567890
Int'l - tel:+11234567890
When clicking the link the browser displays a call prompt.
Unfortunately, there's no direct way of doing this, but you can use Apps Script and deploy a web application that will solve your issue.
You will have to use this script using Apps Script script editor:
function doGet(e) {
return HtmlService.createHtmlOutput("<script>window.location.href='tel:" + e.parameter.tel + "';</script>");
}
The code contains a doGet(e) function which sends an HTTP GET request and returns a new HtmlOutput object, which has as a parameter the phone number of your choice.
Afterwards, you have to deploy this script as a web application and after that, you will get a URL corresponding to it.
If you want to use it in Google Docs, you can create a link made out of the following link:
your-web-application-URL+?tel=the-phone-number-you-want .
Furthermore, here are some links for you that might be of help:
Apps Script;
Google Web Apps;
HtmlService Class;
Create a link in Google Docs.
Related
Is there any way to specify the title of a new Google Sheet document, using ONLY URL parameters?
Example:
The following URL will open a new, blank Google Doc. Where "XXX"
is, you can specify what you want the title of your new document to
be:
https://docs.google.com/document/create?title=XXX
The same goes for creating a new Google Slides document:
https://docs.google.com/presentation/create?title="XXX"
However, if you apply the same pattern to a new Google Sheet, such as:
https://docs.google.com/spreadsheets/create?title="XXX"
This link WILL open a new Google Spreadsheet, but the title is blank.
So it seems this option is not working like the examples that you have provided.
A workaround that you could use is using the REST sheets API. Take a look at create method.
You could integrate this HTTP request in a lot of environment to simulate your behavior.
Alternatively you could report this behavior inside google Sheets itself. This seems like a reasonable request you could make.
If you go to google.com and search "Attractions in London", in the result page on the first line you will see a list of Point of Interest (POI) with its name, photo, and description.
I want to get this list of POI on my iOS app, without having the user typing "Attractions in London"; I will pre-load this list as suggested places in London. I've read through the Google Places API for IOS here: https://developers.google.com/places/ios-api/start. But I could not find any sample to search by text.
The only way I found is by accessing the Google Place Web Service API here: https://developers.google.com/places/web-service/search and do the text search. Get the JSON result and map it to my custom google place object.
Does anybody has experience doing this using client-site API iOS SDK? Not sure if I missed anything in their guide, or it's not documented or Web Service API the only way..
Thanks in advance!
I'm just beginning with programming, but i wanted to know if it's possible to use google docs api to make documents on another site using the google docs text editor?
Is there some sort of way i can put the google docs text editor onto a website so that we can use that for document creation instead of tiny mce?
Basically the functionality needed would be documents created, openly shared, a postable version of it (take html code) -- so it can go on the document display page, and
Of course there would be google login and everything, but i just wanted to see if this would work.
No, that is not possible, sorry.
While https://developers.google.com/accounts/docs/OAuth2Login is very descriptive, I cannot seem to wrap my head around how to translate into a Google Apps Script.
The ultimate goal is to have the user click a link, authorize access to their userinfo. I will then use their email address or userId to assign the appropriate spreadsheet to other Google Apps Scripts UIs.
I am certain that some sample code would get me on my way.
Is it even possible?
Can a linked be utilized to make this happen? http://support.google.com/sites/bin/answer.py?hl=en&answer=1224166&topic=1224152&ctx=topic
The trouble is that when you publish your script as a service, it executes under your ID. All the authorization has to be done in the script editor. So, when a third person clicks a button or link or whatever, the script runs under your user ID and all you get back is your own user id.
In short, the answer is no. Sad, but true :(
Check out the OAuth code on the Google Code site. There are some great examples along with the client (and server) code in several different programming languages. Follow along with the samples on how to get the tokens needed.
I am doing a Delphi transport application interacting with GoogleMaps APi and i would like to propose all "near by" names coming from the autocomplete Google Maps API when i enter the starting adress of the direction.
All of this will be displayed in a TCombobox when would be changed on the OnChange propertie.
Is that possible ??? ever heard of it ???
Thanks a lot
Gwenael
There is a part of the Google Maps API called The Google Places Autocomplete API. You can send requests (in the examples part of the reference page there is also the example with bounds for your purpose) as you will type in your combo box (ideally after some short delay for typos corrections). As the result you can receive either JSON or XML format file. After you parse it, you will get the list of appropriate suggestions.
I'm not sure with the Google Maps API Key; if it's possible to use it in standalone application (and about the limitations) because I haven't implemented static part of the Google Maps yet.
My first thought (assuming an approach which is based on remote controlling the web interface) was: this can be solved using TWebBrowser and friends (IWebBrowser2, IHTMLElement etc.). See my answer on this question to get a feeling for this. You could use Embedded Web Browser from bsalsa for easy access to all the Internet Explorer functionality.
My second thought was: there might be a part in the official API for this. But this I don't know. If there is none then the above approach could be a (work-intensive) workaround.
Yes, it's possible.
I have written a free and open source component that implements the Google Place Autocomplete and Google Place Details API's:
https://carbonsoft.co.za/components/
or
https://github.com/RynoCoetzee/TRCGPlaceAutoCompleteCombo