in-call

iOS SDK. Show In-Call status bar

▼魔方 西西 提交于 2020-01-02 05:16:06
问题 Any one know how to show In-Call Status Bar with message from application when it is going to be in background? I know many applications from AppStore which can perform it. For instance: http://myevoz.com/. As I understood, they use SBStatusBar class to show it. I've tried to call setDoubleHeightStatusString method and got no result. Any ideas or links to examples? Thanks. 回答1: So, now I can see red double-height status bar without any SpringBoard tricks and using the only legal APIs. You

Detecting if user has in call status bar

杀马特。学长 韩版系。学妹 提交于 2019-12-17 18:28:49
问题 How do I detect if user is in-call or tethering? I have a subview for iAd like this: _UIiAD = [[self appdelegate] UIiAD]; _UIiAD.delegate = self; [_UIiAD setFrame:CGRectMake(0,470,320,50)]; [self.view addSubview:_UIiAD];\ And it sets it wrong when the user is in call? How do I detect this? 回答1: UIApplicationDelegate has these two methods. // ObjC - (void)application:(UIApplication *)application willChangeStatusBarFrame:(CGRect)newStatusBarFrame; // in screen coordinates - (void)application:

InCallService - Not working in Android Nougat

蹲街弑〆低调 提交于 2019-12-10 23:33:06
问题 I used InCallService to replace default call service, It is working fine in Android 6 (Marshmallow). But, in Samsung S8 with Android Nougat (version 7.0) not working. Doesn't get any call back of InCallService . Do I need any additional permissions for Android Nougat to access InCallService ? 来源: https://stackoverflow.com/questions/45079210/incallservice-not-working-in-android-nougat

How to show double height green statusbar (In-Call) in foreground app on device?

梦想的初衷 提交于 2019-12-10 02:56:32
问题 There's a lot of questions here asking for displaying a red recording bar while in background. It's totally clear I should use AVAudioSession category AVAudioSessionCategoryPlayAndRecord for that. My question is how can I display a green In-Call bar (or at least red bar) in a foreground app when having an active VOIP call in my app? So I could return to call UI tapping a statusbar area, just like Whatsapp or Skype does. What I've already tried: voip and audio modes in UIBackgroundModes key in

iOS SDK. Show In-Call status bar

半城伤御伤魂 提交于 2019-12-05 12:46:49
Any one know how to show In-Call Status Bar with message from application when it is going to be in background? I know many applications from AppStore which can perform it. For instance: http://myevoz.com/ . As I understood, they use SBStatusBar class to show it. I've tried to call setDoubleHeightStatusString method and got no result. Any ideas or links to examples? Thanks. VictorT So, now I can see red double-height status bar without any SpringBoard tricks and using the only legal APIs. You just need to add background mode support for sound and perform recording simulation. That's all. You

How to show double height green statusbar (In-Call) in foreground app on device?

我怕爱的太早我们不能终老 提交于 2019-12-05 04:03:41
There's a lot of questions here asking for displaying a red recording bar while in background. It's totally clear I should use AVAudioSession category AVAudioSessionCategoryPlayAndRecord for that. My question is how can I display a green In-Call bar (or at least red bar) in a foreground app when having an active VOIP call in my app? So I could return to call UI tapping a statusbar area, just like Whatsapp or Skype does. What I've already tried: voip and audio modes in UIBackgroundModes key in Info.plist + setCategory:AVAudioSessionCategoryPlayAndRecord + setActive as suggested in this SO

Sending DTMF tones over the uplink in-call

99封情书 提交于 2019-11-27 18:23:50
I'm working on a project that requires my app to be able to send DTMF tones on the voice's uplink frequency during an active call. My 2 conditions are: We don't use a customized Android platform We don't need to root the phone I've spent several days doing my homework and am aware that in-call DTMF sending is not supported by the current SDK/standard APIs. However, by using the relevant classes in com.android.internal.telephony I am hoping to mimic how the native Phone app does this. I followed this site on how to use internal APIs for standard 3rd party apps . I've also set myself up with the

How In-Call status bar impacts UIViewController's view size?

。_饼干妹妹 提交于 2019-11-27 13:11:37
I'm trying to understand how the view associated to a UITabBarController , UINavigationController or UIViewController reacts when the in-call status bar is toggled. My trouble is that they seem to behave differently and this causes me side effects. I've made a project that changes the root view controller of the window for the 3 types above and I dump the description of the view to get the frame coordinates. UIViewController inCall status OFF : UIView: 0x4e2a1f0; frame = (0 20; 320 460); autoresize = W+H; .... ON UIView: 0x4e2a1f0; frame = (0 40; 320 440); autoresize = W+H; ... This one I

UIViewController In-Call Status Bar Issue

六眼飞鱼酱① 提交于 2019-11-27 04:38:21
Issue: Modally presented view controller does not move back up after in-call status bar disappears, leaving 20px empty/transparent space at the top. Normal : No Issues In-Call : No Issues After In-Call Disappears: Leaves a 20px high empty/transparent space at top revealing orange view below. However the status bar is still present over the transparent area. Navigation Bar also leaves space for status bar, its' just 20px too low in placement. iOS 10 based Modally presented view controller Custom Modal Presentation Main View Controller behind is orange Not using Autolayout When rotated to

Sending DTMF tones over the uplink in-call

微笑、不失礼 提交于 2019-11-26 19:25:01
问题 I'm working on a project that requires my app to be able to send DTMF tones on the voice's uplink frequency during an active call. My 2 conditions are: We don't use a customized Android platform We don't need to root the phone I've spent several days doing my homework and am aware that in-call DTMF sending is not supported by the current SDK/standard APIs. However, by using the relevant classes in com.android.internal.telephony I am hoping to mimic how the native Phone app does this. I