Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Daveoc64

macrumors 601
Jan 16, 2008
4,075
95
Bristol, UK
So there are NO APIs for multitasking? None at all?

This is just going nowhere.

You know the answer to that, I know the answer to that. There's no point repeating the same thing over and over.

We just don't agree on this subject.

----------

Android on the other hand has continued to implement automatic memory management and "freeze states" into Android 3.0 and later.

While I almost completely agree with your post, this part isn't entirely accurate.

Android has always worked in a similar manner to iOS in terms of "Activity" lifecycle. Apps don't generally continue to run in the background unless they have to and the OS can purge them at any time if it needs the resources.

You don't see many people complaining about Android's increasingly "limited" multi-tasking seen in the last few versions because it has lead to a much better user experience on the limited hardware that phones and tablets provide.

There's absolutely no impact on the user experience because developers can still make their App run in the background if they want or need to. It's not obligatory that their app does or does not do that.
 

mib1800

Suspended
Sep 16, 2012
2,859
1,250
Why no one mentions the real power behind multi-tasking in Android (which iOS doesnt have)? i.e. tasks/apps scheduling based on intents.

In Android, apps are automatically started in the background when certain events/intents occurred. e.g. Android will periodically starts the rss reader in background to refresh posts when a timer event occurs. Or apps that only come alive when a call/sms/email/location event comes in. Or apps that refreshes widgets etc.

It is irrelevant whether an Android app is running in the background. What is relevant is the app is activated in the background as and when it is needed. This is much more efficient than having "background" apps which take up RAM and most of the time isnt doing anything. For those apps that require constant connection (llike IMs, voip) Android has the support for "service" app which keeps the apps alive in the background.

For current iOS if you need the app to periodically do stuff then you need to have it as a background app. You can only keep a limited number of apps active in the background before you run out of RAM. And there is a strict limitation of what kind of apps can run in the background. Those apps that do not satisfy Apple requirements cannot be run in the background.

For Android, you can run (theoretically) as many apps in the "background" since Android only load/unload the app in/out of RAM when it is need/not needed. And Android does not impose any limitation on whose apps can stay alive all the time (i.e service apps) or those that periodically run.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.