When Android Q lands, we will hopefully finally experience multitasking on Android with reality. This means that more than one app is open, with both being "active" at the same time – as in multitasking in Windows.
You can currently see two apps at once, but only one of them will be "active." One app will have it focus while the other is in a "paused" state, which limits the possibilities you can get with it.
I was able to play Streets of Rage in split-screen mode and simultaneously with YouTube
You have a Samsung device that lets you already try out what "true" multitasking is, with multiple apps simultaneously open and live are.
How to test it
How to use this powerful multitasking with multiple windows on Android For yourself, you need to download an app called Good Lock from the Galaxy Store, which comes preinstalled on your Samsung phone. (There are indeed a number of interesting apps in the Galaxy Store – it's worth taking a look.) Open the app, look for Good Lock, and then select install
 When that's done , open the app and see the option to add more apps. All of these options can be used to customize your user interface. LockStar lets you change the style of your lock screen. Routines allow you to perform a number of tasks automatically. However, we are interested in MultiStar, which offers more powerful multitasking.
Select this option from the menu and you will be directed to a store listing to download it. If you return to Good Lock and select it, you will be greeted with some options to change the behavior of multitasking. You can change the color of the split screen (because this is not the case) or force all apps to support multiple windows (also available through developer options) or pop-up view. Most interesting, however, is the option "Use Multi Window without pause".
If you select this option, two apps that share the screen will both run in real time! Both will behave as if they have a focus. Also, since you can use the pop-up view to zoom out on the smaller screens, you will not be bothered with using a Bluetooth mouse and keyboard to operate your Samsung device like a PC.
At this point, you are limited only by what apps are so small. For example, I was able to play Streets of Rage in split-screen mode while playing YouTube (yes, it's a bat), not Sonic the Hedgehog.
It also makes productivity a lot easier Moving from Chrome to Word becomes more seamless as you browse through an essay.
The limitations of multi-window multitasking on Android
Why not? Multi-Window Multitasking on Android typically behaves as follows:
When creating apps for Android, developers must look at the app's "lifecycle" app.
When an app is first launched, it triggers a code called onCreate. Here the app initializes itself, loads everything and orients itself.
When the user opens another app or returns to the home screen, this app will appear in the background. It will not be removed from memory, but it will not run, it will stop. At this point, a code segment named "onStop" is triggered. Often, this involves saving the layout and setting a timer so that the app knows how long you are left. The only other option is to run a set of code called "onPause" that handles situations in which the User interface is only partially blocked (for example, when a dialog box opens).
When the app returns to the foreground and is still in memory, it triggers a series of events called " onResume ". With this code, the app can continue from where it retrieves the stored information before the break.
If two apps share the screen at the same time, developers still need "onPause," "onStop," and "onResume;" call. There is no separate label to handle this unique scenario. Similarly, only the app in focus is in the "resumed" state.
MultiStar now gives us the opportunity to test the future of Android.
Developers are encouraged not to pause the video or stop updating feeds in their apps "OnPause" code, but not all are listening. You can not tell if an app is really paused or in split-window mode. Therefore, sometimes they have no choice. For this reason, some apps do not behave as they should in windowed mode. Of course, there are also some limitations to this system: some things you just can not do while an app is "paused".
The simplest example would be a computer game: Normally this forces you to enable the split-screen mode (which requires hijinks in the developer options) means that the game pauses when something else gets to the point.
Google would like to lift this restriction in the next version of Android by introducing "multi-resume", with the incentive to increase the amount of pending foldable Devices support. Probably MultiStar works in a similar way, so we can try it early. So you can play Streets of Rage while watching YouTube!
For developers and users, MultiStar offers a way to test the future of multitasking for multiple windows on Android. I had to give it to Samsung because it offered us all the features we could wish for!