FREN

#FF00AA


14 avr. 2010

“Mobile Multitasking”

If an app requires processing while in the background, then it must also have a service component. A service on Android is like a separate small application that runs without a user interface in the background (though not actually a separate application). The service has a server/client relationship with the app.

Oh. That’s exactly the way I expected / hoped multitasking would work on iPhone OS 4.0, without knowing it was already implemented by Android.

I’m not surprised that Apple went with a more restrictive model that’s designed to actively prevent developers from wasting battery power, but at the same time the author is right to note that Apple’s system also makes it much easier for programmers to add multitasking to their apps.

So everybody wins, if you count as a win that you’ll never have an iPhone IM client keeping open connections in the background (and thus draining your battery) instead of relying on push notifications.

Vous voulez savoir quand je poste du contenu sur mon blog ? Il suffit de vous inscrire gratuitement à un agrégateur RSS (Feedly, NewsBlur, Inoreader, …) et d'ajouter www.ff00aa.com à vos flux (ou www.garoo.net pour vous abonner à tous les sujets). On n'a pas besoin de newsletters, pas besoin de Twitter, le RSS existe toujours.

Mentions légales : ce blog est hébergé par OVH, 2 rue Kellermann, 59100 Roubaix, France, www.ovhcloud.com.

Les données des visiteurs de ce blog ne sont pas utilisées ni transmises à des tiers. Les posteurs de commentaires peuvent demander leur suppression par e-mail.

Tous contenus © de l'auteur ou couverts par le droit de citation.