phone-call

How to create auto dialer in iPhone using MonoTouch?

百般思念 提交于 2019-12-25 08:04:19
问题 I need to create button to call one contact number, that number is the default number and I will mention that number in button click event. When I click on button need to dial that number in iPhone using MonoTouch. 回答1: UIApplication.SharedApplication.OpenUrl(NSUrl.FromString("tel://1234567890")); 来源: https://stackoverflow.com/questions/8080810/how-to-create-auto-dialer-in-iphone-using-monotouch

How to make call from iphone app on xml parser value?

亡梦爱人 提交于 2019-12-25 07:51:23
问题 I am still not able to make phone call using previous answer. I am parsing xml file to get phone number values (aMarker.phone= phone number). Where marker is attributes in xml file which I am fetching in my parser controller. I am able to set this phone number string on Button title. But by tapping button I am not able to call the number. See my code - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { if(BGView.hidden == YES) { BGView.hidden = NO;

Placing a phonecall including extension

杀马特。学长 韩版系。学妹 提交于 2019-12-25 07:26:28
问题 I have been trying to call a number from within my Titanium Appcelerator application using various methods. The problem is, that is should dial an extension as well. I have tried the formats "tel:1234567890,34", "tel:1234567890p34", "1234567890w34". And I have tried it using: // method 1 var intent = Ti.Android.createIntent({ action : Ti.Android.ACTION_CALL, data : phoneNumber }); Ti.Android.currentActivity.startActivity(intent); // method 2 Ti.Platform.openURL(phoneNumber); All combinations

How to resume (or launch) my app after a phone call ends in iOS (my app did *not* initiate the phone call)?

偶尔善良 提交于 2019-12-25 07:22:03
问题 I have seen several ways to "make sure that my app is shown again after a phone call which my app has initiated has ended" however that isn't what I want -> what I am looking for is a way to, say my app is currently running in the background doing network communications and someone calls me , I would like my app to either be able to "detect when the phone call has ended and resume my network communications" and/or "launch/resume my app back into the foreground when the phone call has ended".

Possible to hook into the phone calling functions with current iPhone SDK?

為{幸葍}努か 提交于 2019-12-25 04:35:10
问题 I've heard it mentioned elsewhere, one cannot programmatically hook into the phone call area of an iPhone using the current SDK. I'm looking to learn iPhone development and Obj C, with the end goal of creating a call timer app that runs in the background and alerts the user when a call has gone on too long. Is it even possible to hook into methods liek that? 回答1: No. Your app will be interrupted when the user receives a call, and your code will not be allowed to run while the user is on the

Using telecomManager with our custom protocol

杀马特。学长 韩版系。学妹 提交于 2019-12-24 18:15:12
问题 I`m trying to implement interconnection with telecom service with this guide: https://developer.android.com/guide/topics/connectivity/telecom/ I'm are already can show my own fullscreen incoming call UI without Telecom service, make and receive video calls. All, that I want to do with Telecomservice, is just tell Android OS, that our application is starting/stopping video call in particular moment, and receive call holded/unholded events from other calling apps. The main problems are: 1)

how to detect the end of outgoing ringtone?

一个人想着一个人 提交于 2019-12-24 16:01:12
问题 I want to make a call with my program and after that recognize the call status . I want to detect the end of outgoing ringtone. How to detect the end of outgoing ringtone ? I use of Flowing code for make call . EditText ed = (EditText) findViewById(R.id.txtcall); Uri uri = Uri.fromParts("tel", ed.getText().toString(), null); callIntent = new Intent(Intent.ACTION_CALL,uri); startActivity(callIntent); 回答1: Following code snippet can help you in finding the phone call current statue whether its

Change Call Screen

假装没事ソ 提交于 2019-12-24 10:17:04
问题 I need to change or customize the call screen when initiating a call on Android. After searching on google I do not find any way to do it. There is no way to send DTMF tones during a call, the idea is to send a specific number to the call screen. So when a call is made is possible to see the number to dial during a call to the PBX. I tried to putting the number in the "status bar", but the notification hide after seconds and it is not practical. 回答1: It could be possible to show a toast

difference between ${CDR(duration)} and ${CDR(billsec)} in asterisk dialplan

久未见 提交于 2019-12-24 00:55:33
问题 I want to get the duration of the call but confused which variable to use ${CDR(duration)} or ${CDR(billsec)} Here it is not clear from when ${CDR(duration)} records the time So which should i use ${CDR(duration)} or ${CDR(billsec)} ? 回答1: Call come in, after that not answer X second, after that answered, after that Y sec speak/play something and hangup. So duration will be X+Y, while billsec(time to be billed) will be Y. 回答2: BillSec is "how long was the call off hook" ... a common metric

Phone call with Watch OS2

老子叫甜甜 提交于 2019-12-23 16:34:22
问题 Is it possible to start a call from the watch using Watch OS 2? I have a button in my watch os2 app and I need a way to start a call to a precompiled number from the watch or at least to start the call in the iPhone. Thanks 回答1: Yes it is possible on WatchOS 2: Apps can initiate telephone calls or SMS messages using the openSystemURL: method of the shared WKExtension object. When you open a URL that uses the tel or sms scheme, Apple Watch redirects that URL to the appropriate system app for