HTML phone number can't be sent to device with Google - html

So I used this link : phone number
to add a calling function on a page.
When I click it on mobile, it opens my calls app and is ready to call the number
But on desktop browser , when I try the call function of Google "Make call from:" it tries to send the number and fails saying "Cant share number".

OK so problem solved. Just a day after the phone num send works without changing anything myself. I guess it had something to do with Google?

Related

Making call without confirm box in windows phone

I am developing windows phone 8 app, i need to make a call to specific phone number but without call confirm dialog. Is there any way to make a call to a number without call or dont call confirm dialog?
No, every call request generated using the API require user intervention due to security reasons.
phone call task is a Launcher and hence it has its own GUI.
The phone call task launches the Phone application and displays the
phone number and display name that you specify. The phone call is not
placed until the user presses the call button.
Source http://msdn.microsoft.com/library/windows/apps/hh394025(v=vs.105).aspx

How to directly call in mobile by pressing link

I am trying to allow user call in mobile phones as in
1-408-555-5555
such that when user press the link, then it not only opens the number for calling but actually makes the call too at the same time (aka saves user one step to press button).
Also I need to add an extra code number (lets say 2525 ) dialled when call is connected. Is that possible? This is HTML5 website.
The function of clicking the link will depend on the platform, so this cannot be changed in your code. Most platforms such as iOS do not connect to the number without confirmation as a security measure.
To add the extra code number once the call has been connected, try using the p.
<a href='tel:14085555555p2525'>1-408-555-5555</a>
However I haven't tried this so I'm not sure whether this will work.
You have to access the dialler functionality of the phone which is not possible and as per mobile OS are considered they wont allow it due to security measures.

Can I share a calendar entry via NFC without starting my app on the destination phone

Is it possible to create an NFC message that will create a calendar entry on the destination phone, without requiring my app to be installed on the destination phone?
For the moment, I've implemented it by using a custom protocol URI, but I'd like this to work even when the destination phone does not have my app installed. It would be even better if it could work on an Android destination.
You cannot do this on any phone if I am not mistaken. NFC messages at the end of the day are just bytes being transferred from one mobile device to another. If the destination device does not know how (and most of them do NOT have a build in handler for calendar event) to parse that message in order to open a native application what you are trying to do will not work.
Even if you get an NFC reader and read an NFC message design for that purpose and then recreate this in your application it will NOT be universal; meaning it will not work on any device, especially on different OS devices.
Again this is what I know so far. Don't take this for granted.
Have you tried to store a vcalendar item on a tag to see whether/how a phone reacts to this?
text/x-vcalendar or text/calendar
might be the right format to use for the NDEF record. See also this so question.
If this would not work, you might write an app that takes intents from such calendar data and sends it to the calendar app on the phone (however I don't know how that step would work).

Google Picker shows just a blank page

I'm trying to develop javascript application which would allow user to select files from their Google drive,and then pass IDs of selected files to PHP backend and download them to my server.
For selecting files I'm using Google Picker, and I could use it normaly for a few days but suddenly It stopped to work. When i click and try to open Picker dialog, loadPicker() function pass without any error reported by firebug but i get only blank iframe. I have tested it on several computers with several various browsers, all with the same result
First I was thinking that I've put wrong API key, but every time I try to load picker that attempt is properly loged inGoogle API Console statistic pages, altrought every time i get just a blank screen. I have also tryed to make a new application an just copy/paste Google Picker hello world app source code from Google documentation, but I'm still getting just a blank page.
Any suggestions why this is happening? Is it possible that Google blocked Picker service for my account?
So as disscussed at google groups thread it was a bug on Google side, it should'nt happen anymore.
I've had that problem too, while the picker was working correctly few days ago. I found the reason : in the meantime i had to create a Service Account key for other purposes (access to Google Apps Script apis). Using the clientId of the Web Application Key was causing a picker window with title and buttons but "No files found" inside, while my folder parent Id didn't changed.... I replaced the clientId by the one of the Service Account key, and it solved the issue. Good intuition.
I recently had the same problem. I can't beleive I spent almost two hours trying to figure the issue. In case you've tried everything expect closing the developer tools, please do that.
The file picker won't show unless the developer tools is closed.

Windows .net Google.Apis hangs on the call to InsertMediaUpload.Upload -- there is no timeout

I am using GoogleApis to upload documents to Google Drive using the InsertMediaUpload class from the FilesResource namespace and the Upload method. It is working well for me with the following exception:
After calling InsertMediaUpload, a browser window appears asking the user to log into their Google (usually Gmail) account. If the user simply closes the browser window instead of clicking on "Accept" or "Cancel" then the current process appears to be hung. I suppose there should a timeout of a minute or two so that if the user opts to not log in the current windows application will not simply hang and stop working indefinitely.
There is no need for sample code here. What should happen when the user simply closes the browser window instead of clicking cancel if they are no longer interested in uploading a document? Crashing (or hanging) the current process should not be a possibility, but that is what occurs. One would hope closing the browser window would have the same effect as clicking the cancel button -- just another way of opting out of an upload to Google Drive, right?
Thanks in advance for any help with this.
You're not supposed to get authentication message from InsertMediaUpload class. You should handle authentication by yourself. Authentication browser window you get is for your development convenience, not for production code. Please take a look at .net quickstart. In this quickstart, you'll see GetAuthorization method which handles authentication. Modify this method on your needs and you'll get what you want.