tel

tel: url scheme showing as action sheet in ios 13?

我怕爱的太早我们不能终老 提交于 2021-01-29 12:10:40
问题 How to show tel url scheme as alert in ios 13 I want make a call from app so i am using te url scheme it is presenting as alert below ios 13 but from ios 13 it is displaying as action sheet [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:%@",number]]; Any suggestions ? 回答1: Yes from iOS13 its showing as action sheet . you observe in other applications which are making call are showing as action sheet only . 来源: https://stackoverflow.com/questions/58430053/tel-url-scheme

tel: link not working on Android when anonymous call code #31# is used

ⅰ亾dé卋堺 提交于 2021-01-28 08:54:54
问题 Problem I want to call anonymously using an HTML tel: link with the prefix #31#. This works on iPhone, but on Android it opens up an empty dial screen. Using tel: links without the prefix work fine on both android and iPhone. When clicked, the link does open the phone app, but the dial screen is empty. Without the prefix the dialscreen has the phonenumber filled in, ready to be called. What I've tried I tried to use encodeURIComponent('#31#') to escape the pound signs to no avail <a href="tel

How to Click to show & Click to call?

时光毁灭记忆、已成空白 提交于 2020-06-16 05:29:52
问题 I'm using this to click to show a phone number but I want to make a click to call after showing the phone number. Any tips? Thanks in advance! <span id="number" data-last="123-456-7896"><span> <a class="see">(718)... Click to show </a></span> $('#number').click(function() { $(this).find('span').text( $(this).data('last') ); 回答1: You need to insert a link with a tel: or a callto: scheme upon click. For example: $('#number').click(function() { var tel = $(this).data('last'); $(this).find('span'

How do I include extensions in the tel: URI?

可紊 提交于 2020-03-18 03:10:07
问题 I currently have a webpage serving up phone numbers, some of these phone numbers have extensions so I have written the HTML like this: <a href="tel:+44-1234-567;ext=88">+44-1234-56788</a> / <a href="tel:+44-1234-567;ext=99">+44-1234-56799</a When I hit this page in my Android browser and tap one of the phone numbers, it loads up in my phone dialer (UK Samsung Galaxy s2 stock) as: +44-1234-567;ext=88 which I don't think is correct. Surely it should omit the ;ext= word. Have I misread the RFC

How do I include extensions in the tel: URI?

…衆ロ難τιáo~ 提交于 2020-03-18 03:08:13
问题 I currently have a webpage serving up phone numbers, some of these phone numbers have extensions so I have written the HTML like this: <a href="tel:+44-1234-567;ext=88">+44-1234-56788</a> / <a href="tel:+44-1234-567;ext=99">+44-1234-56799</a When I hit this page in my Android browser and tap one of the phone numbers, it loads up in my phone dialer (UK Samsung Galaxy s2 stock) as: +44-1234-567;ext=88 which I don't think is correct. Surely it should omit the ;ext= word. Have I misread the RFC

Enable phone call functionality on change event (jQuery)

…衆ロ難τιáo~ 提交于 2020-01-01 15:05:39
问题 I'm trying to enable the phone call functionality on change event (HTML <select> tag) so as to reference the appropriate "tel:" value. I run a test on Android (both version 2.2 and 4.0 ) , using the default browser: I did not get the desired effect. Below is my code: HTML <select class="call-us-options"> <option value="">Select a branch:</option> <option value="branch-a">Branch A</option> <option value="branch-b">Branch B</option> <option value="branch-c">Branch C</option> </select> <a class=

a href tel and standard browsers

半腔热情 提交于 2019-12-24 05:59:28
问题 I have a project that requires <a href="tel:123456"> over the phone number (123456 is not the number) however this will cause an issue for everything except mobile browsers by being unable to interpret the tel: bit. I have tried to use jQuery to add the href attr when a browser width is <1000px but this is a very unreliable method (tablets also have a limited resolution). Any ideas on how to overcome this would be greatly appreciated. I am using PHP, jQuery and JavaScript. 回答1: Detect with

UIWebView doesn't detect phone number links

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 11:11:51
问题 I'm building an app with a UIWebView in it. The webView should load html that includes tel: links: <a href="tel:123456789">call me</a> The webView doesn't make the "call me" link to be clickable. I tried webView.dataDetectorTypes = UIDataDetectorTypePhoneNumber But doesn't work. I looked in all the stackOverflow Q&A's and found no answer specific to this problem. Thanks for your help, Nur 回答1: replace <a href="tel:123456789"> call me </a> with <a href="tel://123456789">call me</a> Hope it

I need a regular expression to convert US tel number to link

依然范特西╮ 提交于 2019-12-19 10:25:22
问题 Basically, the input field is just a string. People input their phone number in various formats. I need a regular expression to find and convert those numbers into links. Input examples: (201) 555-1212 (201)555-1212 201-555-1212 555-1212 Here's what I want: <a href="tel:(201)555-1212">(201) 555-1212</a> - Notice the space is gone <a href="tel:(201)555-1212">(201)555-1212</a> <a href="tel:201-555-1212">201-555-1212</a> <a href="tel:555-1212">555-1212</a> I know it should be more robust than