Slashdot Mirror


Multitasking In For iPhone 4.0?

The latest word on the iPhone is that the 4.0 OS will finally have honest-to-goodness multitasking. This could hopefully lead to things like a real chat client, and dangerous battery consumption. I still hope it's true.

9 of 345 comments (clear)

  1. A minor point... by slagheap · · Score: 5, Informative

    The iPhone OS has always had real pre-emptive multitasking. The phone, email, iPod, calendar, and other applications run all the time and can do things simultaneously.

    Multitasking just hasn't ever been made available to 3rd party developers.

    It has never been a technical limitation in the OS. Rather, Apple kept control over it for battery life and security reasons.

    --
    First against the wall when the revolution comes
    1. Re:A minor point... by strength_of_10_men · · Score: 4, Informative

      The (jailbroken) app "Backgrounder" handles it quite well. It displays a small activity-wheel icon on apps that are currently running in the background. It also does this for the native Apple apps that run in the background. What's so hard about that?

    2. Re:A minor point... by zullnero · · Score: 4, Informative

      Actually, if you have a halfways intelligent notification system, that's not a problem at all. My Palm Pre does all that multitasking, and I've never had a phone call interrupted by anything. We've got over 2k apps now for the Pre in about 8-9 months, and I've got a lot of apps running on my phone, and I've never had a phone call interrupted by any app. We get notifications that show up as a little icon on the bottom of the screen, so when the phone call is done, I tap it and deal with it then. Or, I can choose to deal with it during the call if I so choose. In fact, I frequently open up my email while in a call on my Pre, because people call me all the freaking time and ask me if I got that email they sent. Or my calendar. Once, I opened up solitaire during a long conference call and had the call on speaker.

    3. Re:A minor point... by hazydave · · Score: 3, Informative

      Already being on Verizon, the Droid cost me an additional $30/month over the cost of service for a non-smart phone. It's a family plan.. we have four phones on for slightly over $100 per month. The general prices between AT&T and Verizon aren't significantly different... one may be better or worse, depending on the specifics of what you want. The data plan, at least for individuals, is the same... "unlimited" data for smart phones (where "unlimited" in both cases is subject to arbitrary definitions, both companies will go after you if you're using more data than they think possible under their license... like tethering)

      As for coverage, the entire Verizon network is 3G, only about 20% of AT&T's (by area, not by population) is 3G. That's nothing more than the difference between CDMA and GSM... the CDMA 3G protocols run over the same frequencies and bandwidth used for 2G/Voice, while GSM always requires additional bandwidth, and often, additional frequencies. This is further compounded by today's AT&T being a mix of two previous companies, Cingular and AT&T Mobility. Cingular bought AT&T Mobility to become the country's second largest cellular network, after Verizon. But AT&T Mobility was using DAMPS (they called it "TDMA"), not GSM. So the company has spent many years just establishing full 2G GSM coverage and phasing out DAMPS (the DAMPS network went dark in mid 2008). This is also why AT&T's slightly more likely to drop calls than other GSM networks... DAMPS has slightly better coverage than GSM, so upgraded DAMPS cells are often not ideally placed for GSM.

      At its peak, the AT&T network is faster than Verizon's. Regular HSPA cells deliver up to 3.6Mb/s down to clients, versus 3.1Mb/s down to clients for CDMA's EvDO Rev A. By this summer, AT&T will have HSPA+ coverage in as many as 40 cities, which can deliver 7.2Mb/s down to clients, if you have a fast enough phone (you'll need an iPhone 3GS for this, and the iPhones are all still crippled on the upload side... HSPA+ can go upstream at up to 2Mb/s, but iPhones only do 384kb/s). All networks degrade over distance, and all fall back to "EDGE" speeds if you're too far from a cell site for 3G performance. AT&T and Verizon both have an advantage in range, though, generally being the companies owning one of the two 850MHz slots available in any area of the USA. You get much better range at 850MHz than at 1900MHz... Sprint does its 3G at 1900MHz (and WiMax 4G at 2500MHz, though they don't have any 4G phones out yet), T-Mobile does 2G at 1900MHz and 3G split between 1700MHz and 2100MHz. Verizon is starting 4G service at 700MHz this summer, using the LTE standard; AT&T will be starting 4G next year, also at 700MHz (Verizon won the largest 700MHz spectrum block, 20MHz of spectrum, while AT&T got the other big win here, 12MHz worth of spectrum).

      --
      -Dave Haynie
  2. Re:Streaming music player + other app by nangus · · Score: 3, Informative

    Well if multi tasking is implemented as a series of call backs so that any process that is waiting on data is not consuming clock cycles then there should be no more drain when "multitasking" then when running one application. I have never written anything in objective C but with most of my embedded c programming I am able to put any processes that is not doing anything to sleep, so it does not consume extra power.

    As far as I can tell using the backgrounder on my jail broken iphone when not actively working most programs still consume cycles. So almost all of this could be fixed if the wait() call is not properly implemented in the lib.

  3. Re:I hope it's optional in settings by Anonymous Coward · · Score: 3, Informative

    As an iPhone developer, I can tell you this just isn't coming. Apple has lots of (NDA'd) guidelines about how much CPU juice you get (since iPod etc can work through your app) and this would seriously topsy turvey the existing software base. They have gone out of their way to make a UI that works well without multitasking, and stuff like APNS was engineer specifically not to require it.

    Aside from having my SSH sessions die when I want to goto an email or phone call, multi tasking has never actually been lacking.

  4. Re:It's already been there by Joe+Tie. · · Score: 3, Informative

    Backgrounder's probably the single biggest reason I have mine jailbroken. I'm always amazed at the people freaking out like multitasking would cause the thing to explode. People have been multitasking on it for years now. I've had a couple issues with backgrounding and sound, but that's about it. For the most part it's worked great for me.

    --
    Everything will be taken away from you.
  5. Re:It's already been there by whisper_jeff · · Score: 4, Informative

    For some time now, I have been able to listen to music and browse the web, text, chat, etc. by just switching apps.

    Uh, you do know you can do that with a non-jailbroken iPhone, right? You didn't mention anything that a stock iPhone is incapable of doing so, if that's why you jailbroke your iPhone, you wasted your time... If there are other apps that you're running with backgrounder, fine, but that was a bad list of example tasks given the iPhone can do that out of the gate.

  6. Re:ipad might be worthwile by uberjack · · Score: 5, Informative

    As a dedicated Android user (and programmer), I still don't see the value of multitasking in a mobile app. The runtime can automatically clean up and restart the application with all the state information necessary if it ceases to run anyway. It's a lot easier to just assume that it's _always_ going to be cleaned up upon suspension, instead of writing code that accounts for the possibility that the app just may be resuming from a paused, but not terminated state. I haven't used a single Android app, or written any code that I can say honestly benefits from the multitasking aspects of Android. The runtime can shut down my app any time it sees fit. Planning for resumption from an abruptly terminated app is the norm when developing for Android anyway. The way I see it, the apps would have more resources if the platform didn't have to multitask.