![]() |
Multitasking on Android
Some people claim you can, some deny.
Can you get real multitasking on Android? Defined as: 1. The system never kills any application without the user's consent 2. The multitasking screen is a place which is often visited without extra effort, so you don't forget about your running apps. For example during normal Maemo usage, you almost always go through the multitasking screen, so on Sailfish. And on webOS 3. You can easily either close or minimize apps (it doesn't have to be with one click, but without extra hassle. For example on webOS you need two swipes to close the app, but it's quick nevertheless). On MeeGo/Jolla - one swipe. Is it achievable? |
Re: Multitasking on Android
Yes and no.
Android uses a different paradigm for multitasking than traditional desktop operating systems, and does this for the sake of better power usage. By default applications are stopped when they are switched away, and then they resume when they are in the foreground again. For more info on this, search for the Activity Lifecycle. If an application wants to run background tasks it needs to implement a Service. These can do anything they want, but again, the OS can stop then for example if the device goes to sleep, and can re-start them if needed. Services can force to run uninterrupted by using a so-called wakelock, that will prevent the start-stop behavior, but this can also prevent the OS to throttle CPU speeds, thus apps that use wakelocks can run down the battery easily (see Wakelock detector app for Android that helps identify battery issues by finding applications that do this). Most of this forum hates this method of multitasking and prefer the old desktop style multitasking where you decide what runs and what stops. I think it is far from an ideal way to run things on mobile devices as they will inevitably cause battery issues. Just see how the Jolla tablet's battery life is compared to even cheap Android tablets, let alone an iPad. The Jolla tablet can't even keep charge for 2-3 days if left untouched, while Android tablets can take a month or more to run down their battery if left turned on but not used. But of course to each their own. |
Re: Multitasking on Android
Quote:
Besides, comparing Jolla Tablet - an Intel device without real support that's not going to get optimized - seems a bit off. Jolla (the phone) was always praised for its battery life, as SailfishOS uses some tricks to help the power consumption, like deep sleep of apps when the phone is locked (unless the apps use Nemo Keepalive which is not allowed in Jolla Store) where apps' processes are slowed down (big simplification). One could argue if that's real multitasking, but it's nowhere near iOS/Android - you're right about that. EDIT: I would also like to know if what marmistrz is asking about is achievable using some tricks. I tried to use a recent Samsung phone in the last couple of weeks, after my Jolla broke, but had to go back to the N900, as multitasking is definitely not the case in the Samsung's flavor of Android and downloading random ROMs (with no source code origin verifiability) from shady forums is not my cup of tea. EDIT 2: To share my experience from the Samsung's Android (v5.1; others may differ):
EDIT 3: To expand on the tablet argument: Quote:
|
Re: Multitasking on Android
google will debut andr*id N with new multitasking features like split screen that we saw in sams*ng crapdr*ids and picture in picture, i saw the video but its still no real multitasking. floating apps is somewhere close to real multitasking on andr*id i think.
|
Re: Multitasking on Android
Multitasking, meaning you decide when your app dies, can apparently be improved using apps or xposed modules described in this xda thread. I have not tried it myself yet but will give it a go and report back. Feel free to beat me to the punch!
http://forum.xda-developers.com/show...1396599&page=2 |
Re: Multitasking on Android
I'm pretty sure that the bad standby battery life of the Jolla tablet mostly comes from the Intel chipset, which just doesn't excel at power saving.
It's no wonder you don't see much Intel hardware in mobile devices. |
Re: Multitasking on Android
In my experience all of this talk is anecdotal, at best.
On Symbian or Harmattan, I have had apps reload data, or webpages refresh when brought back into the foreground. I have experienced the same thing with Android. I have never had apps close or disappear when put into the background on Symbian or Harmattan. That has never happened to me on Android either. I have had processes continue to run after closing them on Symbian and Harmattan. The same thing has happened on Android. Everyone uses their phones differently, and every operating system handles those needs uniquely. FOR ME, I find that the "recently used" apps page (always one button click away), is as accurate as any other OS i have used at showing what programs are open. From this screen a simple swipe or tap closes that program. I am NOT an Android "fan", but how it handles multitasking really isn't the issue that the "facts" point it to be. There are plenty of other MUCH better reasons to hate Android... |
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Well, the problem is not the number of apps running at the same time.
Often I do it this way: open one app in the morning, use the phone all day (with this one minimized or used once or twice), and open it back in the evening. Android would've killed this a long time ago. |
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Quote:
If the app isn't doing anything then it saves state and releases resources saving your battery. It restores state back to where you left it when you resume it. If the phone has plenty of RAM then it restores the activity instance from RAM instantly. It makes no difference and is arguably safer than an app that doesn't save state but relies on continuously running. If it is doing something then it keeps a background service open. |
Re: Multitasking on Android
And now run a desktop app from a chroot. Whoops, no one thought about saving the state... And why should he
|
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Well, most desktop apps just stay idle, don't save anything until explicitly requested to. See pluma, gedit, mnemosyne, galculator, banshee..
|
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Quote:
Quote:
|
Re: Multitasking on Android
Quote:
There are some new approaches to rooting that may be more robust. http://www.xda-developers.com/chainf...ifying-system/ |
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Quote:
So sad. |
Re: Multitasking on Android
Quote:
What we're talking about here is the way Android works, which is that it keeps an instance of the running app in RAM on the device. It keeps it there as much as it can before saving it to local storage if it has to. You'd be nucking futs to have your app state storage "in the cloud". |
Re: Multitasking on Android
This is inefficient. Some apps could've freed the memory a long time ago, some will be deprived of it.
The whole point is that the user doesn't have to think. And no one cares about the power users. |
Re: Multitasking on Android
Quote:
Quote:
But now I see your point. You were talking about the OS implementation, not the user experience. From the user experience, it matters monkey's kidneys what an idle application does. Whether it stays idle in the RAM for as long as possible or is swapped out right away. As long as it does not impair the experience. We have had a discussion on multitasking before. Even multitasking on Android specifically. It is all too well "ps -aux" showing you a bunch of stuff. By that reckoning, you can say that DOS was a multitasking OS too: it could play a tune while you moved the mouse cursor around the screen. But for me as a user, it is not a real multitasking if a video I am playing stops when I switch to the browser. Multi = more than one. Task = task. Multitasking = doing more than one task simultaneously. I don't care that the OS can run many processes. If the OS stops me from doing more than one task, then as far as I am concerned, it does not support multitasking. Simples. |
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
Quote:
Again, it depends on what the user is looking for. My multitasking experience is no more hindered on Android than it was on Harmattan. |
Re: Multitasking on Android
Quote:
Let me tell you a typical mutltiasking scenario where i have seen most android fail. You try an load a website. Here in india we are still with 2g/3g. So an average website in desktop mode takes around 5 seconds to load. With E71,E72,E7,n900,n9 or BB10 i always try to open some other app in the mean time. (May be check messages in whatsapp or read the rest of the pdf which i had open) and then come back to the browser to see if the web page has loaded. All the android phones i have used till now reloads or wouldnt have finished downloading when i come back after say about 20 secs. That said my android exposure is limited to my cousin's moto x(2 GB ram), my sisters moto g (2 GB) and my parents samsungs with 1-2gb ram. Can the present androids do that? |
Re: Multitasking on Android
Quote:
I opened Firefox, opened a website in a new window, opened Reddit, went back to Firefox. Page loaded completely in background. http://imgur.com/bWftT4v Sent from my XT1095 using Tapatalk |
Re: Multitasking on Android
Yes it works. I tested with android 6.0 in my sis's moto G as well. So then android multitasking behavior has had subtle changes over the iterations. One thing i noticed was that firefox does this always (downloading pages in background) while the stock browser was unreliable at times. With heavy websites , sometimes it loads in the background , and at other time it reloads. Have you noticed this? One another question is if such background tasks happen in android , what is so different in case of stock browser pausing youtube? Makes me wonder is there differential treatment of apps with respect to multitasking? Phone and other os apps definitely will have differential treatment, but other than that?
|
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
For those talking about playing videos while editing documents, N900 can actually do it. The video plays via tv-out, while you do whatever you want on the screen. The stock video player however does not allow this.
Those saying VLC/Android can play while they do other tasks - yes, any phone (at least Nokia) with a music player can do that, even Nokia S40 (even the older versions such as in Nokia 6230i). This is clearly not the multitasking being referred to in this thread. Finally, it's quite apparent that some of us, myself included, want the same type of multitasking as on a desktop, even though there might be a battery/power penalty to pay. Others are happy with a stripped-down version of multitasking that allows more power savings. Overall, I will agree that what Android has is multitasking, just not the multitasking that the majority of us here want. |
Re: Multitasking on Android
Quote:
Playing VIDEOS in the background was only mentioned to demonstrate common misconceptions on multitasking on Android. I agree, multitasking on mobile does not compare to multitasking on desktop. I just think the multitasking divide between Android and other more loved OSs is much smaller than many would like to think. Sent from my XT1095 using Tapatalk |
Re: Multitasking on Android
Hello, the closest You get to real multitasking on Android is the developer Android N version.
|
Re: Multitasking on Android
Quote:
Quote:
https://felipec.wordpress.com/2012/0...ic-vs-dynamic/ |
Re: Multitasking on Android
Quote:
but then ... it could be that more recent android builds have overcome some of the issues raised on that post? I notice that was 2012. Either way, I definitely like Maemo's multitasking better than anything else available on other mobile devices that I have had access to use/test. |
Re: Multitasking on Android
Quote:
In the old days people complained that Windows didn't have real multitasking (it had "cooperative multitasking"). Now (other, but still) people claim that Android has real multitasking. But we claim that on mobile only Maemo has real multitasking. As long as each group uses whatever definition they wish, then we cannot sensibly argue about this. FWIW and in my book: Android does not have multitasking. |
Re: Multitasking on Android
Quote:
What we have established in this thread:
|
Re: Multitasking on Android
Quote:
Android first saves state IN RAM. IE. It just leaves an instance of the running app IN RAM. If it then runs out of RAM, it offloads that instance to storage. Yes, it may use more instructions to restore state than to restore a swapped out process but you are getting the inbuilt protection of not having an app lose all its transient unsaved data. Anyway, nobody wants their device to be continuously swapping. Nobody would argue that they'd rather have swapping for performance reasons. |
Re: Multitasking on Android
Quote:
|
Re: Multitasking on Android
This is my use case of multitasking : I let run a gps tracking app during hours, sometimes up to 6-8 hours. Then I use (lightly) my phone for other tasks like answering a call, etc.
My experience is that Android does this as good as Meego or Sailfish, it usually consume about 5 to 7 percentage points of battery per hour (for a comparable battery), no gaps in the recording. |
Re: Multitasking on Android
Android seems to do multitasking better than it used to. Used to be when Android killed an app, like a document editor, I would lose the changes I made. Now if the same app is killed it looks like the changes are saved. Whether that is due to an improvement in the app or android itself, I can't say for certain. Regardless, I wish it was me that decided whether the app is killed and not android. I would prefer, if the situation arises that there is no enough free memory to run an app, that the system tell me that I need to close some given set of apps or risk getting them killed. I would also prefer having a better swapping capability, even at the expense of performance, as the phones are pretty fast anyways. Regardless this may be a moot point once the phones have 6 to 8 gb.
|
All times are GMT. The time now is 01:03. |
vBulletin® Version 3.8.8