split-screen-multitasking

Programmatically open app in split screen

时光总嘲笑我的痴心妄想 提交于 2021-02-18 19:19:21
问题 How do I open another app in a split screen in the android N (SDK 24)? In the documentation I found this: Launch New Activities in Multi-Window Mode When you launch a new activity, you can hint to the system that the new activity should be displayed adjacent to the current one, if possible. To do this, use the flag Intent.FLAG_ACTIVITY_LAUNCH_TO_ADJACENT. Passing this flag requests the following behaviour: If the device is in split-screen mode, the system attempts to create the new activity

Programmatically open app in split screen

笑着哭i 提交于 2021-02-18 19:19:12
问题 How do I open another app in a split screen in the android N (SDK 24)? In the documentation I found this: Launch New Activities in Multi-Window Mode When you launch a new activity, you can hint to the system that the new activity should be displayed adjacent to the current one, if possible. To do this, use the flag Intent.FLAG_ACTIVITY_LAUNCH_TO_ADJACENT. Passing this flag requests the following behaviour: If the device is in split-screen mode, the system attempts to create the new activity

Sharing UDP Data across apps (background/foreground or Split screen multitasking) in iOS

感情迁移 提交于 2019-12-23 07:13:46
问题 I'm writing a research application that takes advantage of a specific sensor that broadcasts data over UDP. There are various commercial apps that use this sensor and we are hoping to be able to run both our application and an existing application side by side. In the past (iOS 8 and below) we would run our application in the background to record data and a different application in the foreground. Unfortunately it appears only a single application was able to bind to the incoming UDP data

Preferred status bar style on iPad multitasking - split screen

跟風遠走 提交于 2019-12-07 01:24:48
问题 I have two view controllers - the first has a UIStatusBarStyleDefault , the second has a UIStatusBarStyleLightContent . VC1 is presenting VC2 as a modal form sheet. So when presenting in regular trait collection, VC2 is presented as UIModalPresentationFormSheet and VC1 sets the status bar to Default . But in compact trait collection, VC2 is fullscreen and sets the status bar style to Light Content . The problem is when switching between regular to compact (full screen to form sheet) the

Preferred status bar style on iPad multitasking - split screen

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 05:00:40
I have two view controllers - the first has a UIStatusBarStyleDefault , the second has a UIStatusBarStyleLightContent . VC1 is presenting VC2 as a modal form sheet. So when presenting in regular trait collection, VC2 is presented as UIModalPresentationFormSheet and VC1 sets the status bar to Default . But in compact trait collection, VC2 is fullscreen and sets the status bar style to Light Content . The problem is when switching between regular to compact (full screen to form sheet) the status bar is not updating. Trying - [self setNeedsStatusBarAppearanceUpdate]; after trait collection change