tel

placing a call programmatically on iPhone and return to the same app after hangup [duplicate]

╄→尐↘猪︶ㄣ 提交于 2019-12-09 07:18:13
问题 This question already has answers here : Make a phone call programmatically (12 answers) Closed 5 years ago . I would lie to place a call in my app (I can use the tel:) but I would like to return to my app where I left after the users hangs up. Is that possible? 回答1: I got this code from Apple site and it works perfectly: -(IBAction) dialNumber:(id)sender{ NSString *aPhoneNo = [@"tel://" stringByAppendingString:[itsPhoneNoArray objectAtIndex:[sender tag]]] ; NSURL *url= [NSURL URLWithString

Clickable tel protocol a tag in firefox

好久不见. 提交于 2019-12-08 15:07:37
问题 I have a pretty standard a tag for a telephone number. It works in everything except Firefox. I thought the tel protocol was standard - is there a workaround I am unaware of? <a class="tel" href="tel:8001234567">(800) 123-4567</a> Firefox error message: The address wasn't understood Firefox doesn't know how to open this address, because the protocol (tel) isn't associated with any program. You might need to install other software to open this address. 回答1: Firefox doesn't know a program for

Cordova iOS Simulator tel and mailto not working

懵懂的女人 提交于 2019-12-07 14:24:27
问题 I am unable to initiate the call and mailto via href on my iOS Cordova app. For the code: <a href="tel:XXX">Call</a> I get the error in the Xcode console as There is no registered handler for URL scheme tel. Same for mailto. How can this be fixed? I've added these to config.xml. <access origin="tel:*" launch-external="yes"/> <access origin="geo:*" launch-external="yes"/> <access origin="mailto:*" launch-external="yes"/> <access origin="sms:*" launch-external="yes"/> <access origin="market:*"

Prompt when trying to dial a phone number using tel:// scheme on iOS 11

谁说胖子不能爱 提交于 2019-12-07 11:38:02
问题 I am facing an issue, while trying to start a phone call from my iOS app using: UIApplication open(_:options: completionHandler:) iOS shows an confirmation popup/alert before starting the call with two button Call & Cancel and CompletionHandler called with a Bool parameter having true/false based on button action in iOS 10. But now in iOS11 the problem is that the completionHandler is being called automatically before tapping on "Cancel" or "Call" button of confirmation popup, always having

UIWebView doesn't detect phone number links

北慕城南 提交于 2019-12-06 03:36:11
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 replace <a href="tel:123456789"> call me </a> with <a href="tel://123456789">call me</a> Hope it works for you. Below code worked for me Add the web view web = [[UIWebView alloc] initWithFrame:WEBVIEW_FRAME];

Cordova iOS Simulator tel and mailto not working

筅森魡賤 提交于 2019-12-05 23:31:48
I am unable to initiate the call and mailto via href on my iOS Cordova app. For the code: <a href="tel:XXX">Call</a> I get the error in the Xcode console as There is no registered handler for URL scheme tel. Same for mailto. How can this be fixed? I've added these to config.xml. <access origin="tel:*" launch-external="yes"/> <access origin="geo:*" launch-external="yes"/> <access origin="mailto:*" launch-external="yes"/> <access origin="sms:*" launch-external="yes"/> <access origin="market:*" launch-external="yes"/> I'm using Cordova v6.0.0, Xcode v7.2.1 and developing for iOS v9.2. Restating

Prompt when trying to dial a phone number using tel:// scheme on iOS 11

自闭症网瘾萝莉.ら 提交于 2019-12-05 13:55:04
I am facing an issue, while trying to start a phone call from my iOS app using: UIApplication open(_:options: completionHandler:) iOS shows an confirmation popup/alert before starting the call with two button Call & Cancel and CompletionHandler called with a Bool parameter having true/false based on button action in iOS 10. But now in iOS11 the problem is that the completionHandler is being called automatically before tapping on "Cancel" or "Call" button of confirmation popup, always having true value. Is this a bug in iOS11 or is there something that I am doing wrong? There has been a

Android textview with clickable phone number [closed]

喜欢而已 提交于 2019-12-04 22:07:00
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, both are clickable ! have you checked the API demos ? They have a sample just for this , under Views/Text/Linkify. The class is located at com.example.android.apis.text.Link.java for example , the string used there for one of the textView is : <string name="link_text_manual"><b>text2: Explicit links using <a> markup.</b> This has markup for a <a href="http://www.google.com">link</a>

Enable phone call functionality on change event (jQuery)

僤鯓⒐⒋嵵緔 提交于 2019-12-04 11:54:54
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="phone branch-a" href="tel:(22) 2222-222" title="Branch A">Branch A</a> <a class="phone branch-b" href=

placing a call programmatically on iPhone and return to the same app after hangup [duplicate]

此生再无相见时 提交于 2019-12-03 10:09:14
This question already has answers here : Make a phone call programmatically (12 answers) I would lie to place a call in my app (I can use the tel:) but I would like to return to my app where I left after the users hangs up. Is that possible? I got this code from Apple site and it works perfectly: -(IBAction) dialNumber:(id)sender{ NSString *aPhoneNo = [@"tel://" stringByAppendingString:[itsPhoneNoArray objectAtIndex:[sender tag]]] ; NSURL *url= [NSURL URLWithString:aPhoneNo]; NSString *osVersion = [[UIDevice currentDevice] systemVersion]; if ([osVersion floatValue] >= 3.1) { UIWebView *webview