tel

How do I give option to dial an extension in Tel: link?

♀尐吖头ヾ 提交于 2019-12-19 04:07:18
问题 While putting a tel link as <a href="tel:+91123456789,,123">Dial</a> and clicking it from a mobile browser, only initial number gets transferred to dialer and not the commas or extension. I've tried p , w and ;ext= as well but nothing is working. p and w change to '7' and '9' respectively. Tested using Moto X 1st Gen. 回答1: According to the documentation, the tel: scheme supports RFC 3966. Reading these RFCs is a bit like reading cuneiform on clay tablets, but from what I can tell, your syntax

Wordpress change url from http:// to tel:

谁都会走 提交于 2019-12-18 09:40:21
问题 I've been stuck on this all day! I'm using a custom wp_nav in Wordpress and I need to change one custom menu item from href="http://555.555.5555" to href="tel:555.555.5555". I've added a class="phone" to the menu-item and I'd like to change it using that class (since I can't add a custom id in WP). I'd prefer it be done onLoad and not onClick. Your help is much appreciated. The code output by Wordpress is: <li id="menu-item-654" class="phone menu-item menu-item-type-custom menu-item-object

Is there a “map:” URI prefix to launch map application? (like mailto: or tel:)

徘徊边缘 提交于 2019-12-18 03:06:55
问题 Is there such prefix for launching map application on phones, <a href="map:21st,High Street, London">Toto's home</a> like can do <a href="mailto:toto@gmail.com">Toto's mail</a> 回答1: geo: is an officially-recognised URI scheme, and maps: may be implemented in some clients. https://en.wikipedia.org/wiki/Geo_URI_scheme 回答2: In each plantform: Apple Documentation Example: <a href="http://maps.apple.com/?ll=12.34567,8.90123"> Android: Documentation Example: <a href="geo:40.726966,-74.006076">

href=“tel:” and mobile numbers

自古美人都是妖i 提交于 2019-12-17 05:16:16
问题 If I use tel: I should write the international phone code, like that. <a href="tel:+6494461709">61709</a> So far, so good, but I can't find information on how to write a cell phone number in an "international" way, if there is one. 回答1: When dialing a number within the country you are in, you still need to dial the national trunk number before the rest of the number. For example, in Australia one would dial: 0 - trunk prefix 2 - Area code for New South Wales 6555 - STD code for a specific

Trigger phone call with Javascript

拈花ヽ惹草 提交于 2019-12-11 14:14:29
问题 I would like to trigger a tel:12345 HREF using only Javascript, not with an anchor. I simply want to grab the value of an input field and use JS to prompt the user to call the number typed in. My trigger will be a button located next to the field. Suggestions? 回答1: Use: window.open('tel:12345'); 来源: https://stackoverflow.com/questions/16781772/trigger-phone-call-with-javascript

tel: link w/ extension working on iOS but not Android

笑着哭i 提交于 2019-12-11 12:46:55
问题 I have a link that looks something like: <a href = "tel:1234567890pp2149">Call Support</a> This link works perfectly fine when using an iOS device. When clicking the link while on Android however the phone attempts to dial 1234567890 (the number without the extension). What is the proper way to do this so that it will work across devices 回答1: This appears to be a known bug/issue which may be due to the lack of standards around this feature, as comma,'W','P' are all specific implementations

Android Webview tel: link ERR_UNKNOWN_URL_SCHEME

自古美人都是妖i 提交于 2019-12-11 05:32:16
问题 I want to use tel: links in my website under webview, but when i click it i got this error message: ERR_UNKNOWN_URL_SCHEME. I dont know what is the problem, everything is working fine, except this special link. Here is my MainActivity.java: import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.KeyEvent; import android.view.Window; import android.view.WindowManager; import android.webkit.URLUtil;

iOS 5 tel link not working

僤鯓⒐⒋嵵緔 提交于 2019-12-11 04:30:19
问题 I built an app that has a simple tel link: - (IBAction) makeCall:(id)sender { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8005555555"]]; } It worked fine when I was testing on iOS 4. Just before I released it, I upgraded to iOS 5, and now I find that the tel link isn't working. Does anyone know if this might be something to do with iOS 5, or am I barking up the wrong tree? UPDATE: This is for an app I built for the company I work for, and in order to fix it, my

Should the plus in tel URIs be encoded?

喜夏-厌秋 提交于 2019-12-10 23:35:58
问题 In a URI, spaces can be encoded as + . Since this is the case, should the leading plus be encoded when creating tel URIs with international prefix? Which is better? Do both work in practice? <a href="tel:+1234">Call me</a> <a href="tel:%2B1234">Call me</a> 回答1: No. From section 3 of RFC 3966 ( The tel URI for Telephone Numbers ): If the reserved characters "+", ";", "=", and "?" are used as delimiters between components of the "tel" URI, they MUST NOT be percent encoded. You would only

Android textview with clickable phone number [closed]

穿精又带淫゛_ 提交于 2019-12-10 00:32:50
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I have a textview showing Phone: 0900-1111, Fax: 0900-2222 Is there a way to make the phone clickable but not the fax. Using Phone: <a href="tel:09001111">0900-1111</a>, Fax: 0900-2222 With autolink set to phone,