Friday 3 June 2011

MULTITASKING OF IPHONE 4



 

 This is a big one, and more than just a little controThis is a big one, and more than just a little controversial. Since the dawn of apps for the iPhone (remember, way back in 2008?), people have been up in arms about the lack of third-party backgrounding for applications. Sure, you could keep Mail, Safari, iPod, and a few other Apple programs cranking while you used your phone, but those privileges were strictly off limits for third-party devs working on the device. It's arguable that one of the driving forces behind the jailbreaking movement was a desire for this feature -- something a phone as powerful as the iPhone was clearly capable of. Apple's argument has always been that multitasking causes an undue amount of battery drain from phones, and had to be approached with caution, lest we all end up with juiceless phones at high noon. Recently, however, that tune has changed. Apple has -- in true Apple fashion -- "figured out" how to "do multitasking right" -- namely, the company isn't allowing full backgrounding as much as it's allowing a handful of APIs that mimic backgrounding. Things like holding onto a GPS signal, letting music play in the background, staying connected to VoIP calls (or receiving them), and fast switching (basically a way for you to return quickly to exactly where you left off in an app).

So, does Apple pull it off? Can this scarce handful of APIs makeup for true backgrounding? In a word: yep.

Here's the thing -- this may not be "true" multitasking for a lot of us, but it amounts to multitasking for most of us. That is, it looks, feels, and acts like multitasking, so it's pretty tough to complain about it. In fact: we're not going to complain about it, especially given the fact that some of our favorite apps -- the IRC client Colloquy being one of them -- do just about exactly what we need them to do, all according to Apple's rules and regulations. Previous to the new OS, we'd been jailbreaking our phone just to keep an IRC session running in the background. Now, utilizing some of those new APIs, the Colloquy developers have created an elegant and useful solution that pleases both users and the Cupertino Cops. The point is: it works, it does so bug free, and without a major drain on battery life (quite the contrary... more on that in a moment). We're not saying we liked waiting for this kind of thing to come around, and yes, we'd prefer something more open and flexible -- but this works, and works well.

 

So how is Apple making this magic happen? Here's a breakdown of just exactly what multitasking really means (and feels like) on the new iPhone (and the 3GS):

  • Fast app switching: You know how you can leave off in Mail halfway through writing a response and go back to exactly where you were? Well that happens everywhere now. When you leave the app, you go back in exactly the same place. And it happens quickly. Fast app switching is essentially like toggling between "paused" applications. This combined with Apple's new app switcher (double tap the home button to bring up your most recently used apps) destroys that annoying iPhone feeling of going in and out and in and out. It just doesn't exist anymore, provided all your apps are up to date, which is going to take some time. It's amazing how much this single feature counts -- it's definitely one of the prime movers here, and it's so simple it's stupid. We would have liked to see options for "favorite" apps or some way to prioritize what you're switching to, but once you get used to this system -- which just puts whatever you've used most recently to the far left -- it makes some sense.
  • Task completion: Basically, task completion lets an app do its thing even if you leave it. So if you're uploading or downloading a picture in Evernote or Dropbox, or saving an article in the New York Times app, even if you navigate away, the job is done when you get back to the app. This accounts for a lot of what we think of as multitasking. Most of your apps are just idling -- it's only when you interact with them that it counts. We don't know the boundaries for this API, though it seems to leave a lot of room for creative use. We know it's not just big jobs, it's little ones too -- Colloquy uses this feature to keep you connected to your IRC host. To be honest, that kind of behavior is one thing we thought we wouldn't see in iOS 4, and here it is. Hopefully Twitter app devs and other instant messaging clients will utilize the API in a similar manner.
  • Background audio and VoIP: These two are straightforward. The first allows for music playing apps to keep their stream running in the background (and even gives them little widget controls in the app switcher), and the second allows VoIP connections to stay active. That means you can stay on a Skype call and go check your mail, but it also means that the VoIP connection will be aware of incoming calls when you're not actively using an app. Additionally, this API can be used to allow for recording even if you exit an app, as demonstrated effectively in the new version of Evernote.
  • Background GPS: Basically, GPS apps can keep running in the background... for obvious reasons. This one will drain your battery if you're not docked -- but who's using a GPS app and not plugging that thing in? Okay, we might be a little guilty of that. Regardless, this will keep your navigation software afloat if you have to take a call, and apparently will let GPS-centric apps like FourSquare check in even if you're not running it in the foreground.
Apple combines these heavy hitters with more familiar tricks, like push notifications, to excellent effect. We know that the hardcore users will cry foul because a lot of this doesn't amount to "true" multitasking, but we also know that often solutions to problems come in different colors. Apple found a way in iOS 4 to solve a pretty good amount of its major problems in this department, and so far what we've seen is very promising. If it's only going to get better from here, we don't mind coming along for the ride. But it better only get better, Apple.versial. Since the dawn of apps for the iPhone (remember, way back in 2008?), people have been up in arms about the lack of third-party backgrounding for applications. Sure, you could keep Mail, Safari, iPod, and a few other Apple programs cranking while you used your phone, but those privileges were strictly off limits for third-party devs working on the device. It's arguable that one of the driving forces behind the jailbreaking movement was a desire for this feature -- something a phone as powerful as the iPhone was clearly capable of. Apple's argument has always been that multitasking causes an undue amount of battery drain from phones, and had to be approached with caution, lest we all end up with juiceless phones at high noon. Recently, however, that tune has changed. Apple has -- in true Apple fashion -- "figured out" how to "do multitasking right" -- namely, the company isn't allowing full backgrounding as much as it's allowing a handful of APIs that mimic backgrounding. Things like holding onto a GPS signal, letting music play in the background, staying connected to VoIP calls (or receiving them), and fast switching (basically a way for you to return quickly to exactly where you left off in an app).

So, does Apple pull it off? Can this scarce handful of APIs makeup for true backgrounding? In a word: yep.

Here's the thing -- this may not be "true" multitasking for a lot of us, but it amounts to multitasking for most of us. That is, it looks, feels, and acts like multitasking, so it's pretty tough to complain about it. In fact: we're not going to complain about it, especially given the fact that some of our favorite apps -- the IRC client Colloquy being one of them -- do just about exactly what we need them to do, all according to Apple's rules and regulations. Previous to the new OS, we'd been jailbreaking our phone just to keep an IRC session running in the background. Now, utilizing some of those new APIs, the Colloquy developers have created an elegant and useful solution that pleases both users and the Cupertino Cops. The point is: it works, it does so bug free, and without a major drain on battery life (quite the contrary... more on that in a moment). We're not saying we liked waiting for this kind of thing to come around, and yes, we'd prefer something more open and flexible -- but this works, and works well.

So how is Apple making this magic happen? Here's a breakdown of just exactly what multitasking really means (and feels like) on the new iPhone (and the 3GS):

  • Fast app switching: You know how you can leave off in Mail halfway through writing a response and go back to exactly where you were? Well that happens everywhere now. When you leave the app, you go back in exactly the same place. And it happens quickly. Fast app switching is essentially like toggling between "paused" applications. This combined with Apple's new app switcher (double tap the home button to bring up your most recently used apps) destroys that annoying iPhone feeling of going in and out and in and out. It just doesn't exist anymore, provided all your apps are up to date, which is going to take some time. It's amazing how much this single feature counts -- it's definitely one of the prime movers here, and it's so simple it's stupid. We would have liked to see options for "favorite" apps or some way to prioritize what you're switching to, but once you get used to this system -- which just puts whatever you've used most recently to the far left -- it makes some sense.
  • Task completion: Basically, task completion lets an app do its thing even if you leave it. So if you're uploading or downloading a picture in Evernote or Dropbox, or saving an article in the New York Times app, even if you navigate away, the job is done when you get back to the app. This accounts for a lot of what we think of as multitasking. Most of your apps are just idling -- it's only when you interact with them that it counts. We don't know the boundaries for this API, though it seems to leave a lot of room for creative use. We know it's not just big jobs, it's little ones too -- Colloquy uses this feature to keep you connected to your IRC host. To be honest, that kind of behavior is one thing we thought we wouldn't see in iOS 4, and here it is. Hopefully Twitter app devs and other instant messaging clients will utilize the API in a similar manner.
  • Background audio and VoIP: These two are straightforward. The first allows for music playing apps to keep their stream running in the background (and even gives them little widget controls in the app switcher), and the second allows VoIP connections to stay active. That means you can stay on a Skype call and go check your mail, but it also means that the VoIP connection will be aware of incoming calls when you're not actively using an app. Additionally, this API can be used to allow for recording even if you exit an app, as demonstrated effectively in the new version of Evernote.
  • Background GPS: Basically, GPS apps can keep running in the background... for obvious reasons. This one will drain your battery if you're not docked -- but who's using a GPS app and not plugging that thing in? Okay, we might be a little guilty of that. Regardless, this will keep your navigation software afloat if you have to take a call, and apparently will let GPS-centric apps like FourSquare check in even if you're not running it in the foreground.
Apple combines these heavy hitters with more familiar tricks, like push notifications, to excellent effect. We know that the hardcore users will cry foul because a lot of this doesn't amount to "true" multitasking, but we also know that often solutions to problems come in different colors. Apple found a way in iOS 4 to solve a pretty good amount of its major problems in this department, and so far what we've seen is very promising. If it's only going to get better from here, we don't mind coming along for the ride. But it better only get better, Apple.

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Online Project management