Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Iphone

Multitasking In For iPhone 4.0? 345

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.
This discussion has been archived. No new comments can be posted.

Multitasking In For iPhone 4.0?

Comments Filter:
  • Existing Apps? (Score:2, Interesting)

    by hemlock00 ( 1499033 ) on Thursday March 11, 2010 @03:08PM (#31441808)
    At one point when looking into developing an Application for the iphone, one of the requirements for *all* apps is that it had to be able to close with in a small time window upon hitting the home button as to kill any chance of running more than 1 app at a time. The reason for this, as I read it, was to avoid having a ton of applications running (w/o the user aware) and killing battery time and other software conflicts. I'm not really sure thats a bad thing. I can remember with my blackberry, If I got a call while in an application I may forget and before I knew it--dead battery. Since it's a phone first and a app platform 2nd, multitasking might not be the best thing for it.
  • by religious freak ( 1005821 ) on Thursday March 11, 2010 @03:18PM (#31442008)
    Obviously, they do want it. And I was in the "geez, why doesn't Apple enable true multi-tasking?" crowd along with most other people. However, after playing with my new iPod touch (thanks sis - she knows I'm too cheap to buy this stuff myself) and comparing it to my Android, I think Apple is smart.

    The Apple UI is so smooth compared to Android's, there really is no comparison. I HATE lag when I'm dealing with a UI, and Android's multi-tasking Java based applications take a good 1-3 seconds to do anything I tell them to do. If there's any chance Apple would have impacted their UI performance to enable multi-tasking, I think they made a great move.

    I still wouldn't switch from an Android to an iPhone because of the restrictions (and I'm not going to wager hundreds of dollars on a jailbreak), but now I see why people enjoy Apple products.

    For most users multi-tasking is a secondary concern to a nice UI.
  • by Skarecrow77 ( 1714214 ) on Thursday March 11, 2010 @03:24PM (#31442104)

    What Android phone do you have? My Motorola Droid is mostly instantious (give or take a few milliseconds) unless it's low on memory. Sure it has the occasional slowdown, but 98%+ of button presses are more or less instant.

    I have no problem with the Android UI. It's pretty damn simple. Press the button on what you want to do, and there is an auxillary button for options. I havn't used an Iphone, but what do they do that's really so much better?

  • Huh? (Score:1, Interesting)

    by Anonymous Coward on Thursday March 11, 2010 @03:26PM (#31442128)
    A real chat client? What's missing from it currently? BeeJive with push notifications enabled has been as good for me as any backgrounded chat app I've ever used.
  • by c.r.o.c.o ( 123083 ) on Thursday March 11, 2010 @03:50PM (#31442668)

    I've had my Nokia N900 for a couple of months now, and for those unaware, most of the specs are identical to the iPhone 3Gs 32Gb. Well, except that it has a much higher resolution screen, a keyboard, a real GPS, an FM transmitter and a microUSB port for data and charging. But the CPU/GPU and amount of storage are the same, except that you can also add a microSD card to the N900. But now on to the most important difference to the 3Gs. I've used both my N900 and a 3Gs, and the 3Gs just feels sluggish, while having half the functionality.

    Flipping home screens on the N900, regardless of how many icons and widgets it's running is smooth, with no clipping. Even with half a dozen apps running in the background, the UI remains equally fast (several instances of the Firefox, Application Manager, Communication app, Contacts app, Skype, MediaBox, battery-eye, conky, etc). Flipping through the 3Gs icon screens clips and feels choppier. It's not a large difference, but keep in mind the hardware is identical and the iPhone has NO applications running in the background.

    The N900 also starts up applications faster, in most cases instantaneously. Start up times do increase progressively after about 3-4 large apps are already loaded and actually doing stuff in the background (Firefox loading up pages, Application Manager checking for updates, MediaBox playing music). But many utilities that only refresh while in the foreground do not have any impact at all (Conky, battery-eye, disk usage, etc). In contrast, the 3Gs takes a couple of seconds to load up pretty much every app I tried, regardless of how limited its functionality is, and complex apps take even longer.

    Once the apps are running, they are roughly equally fast on both the N900 and the 3Gs. But as I stated above, the N900 may be running several apps in the background, and the foreground apps do not slow down at all.

    I think this is why Apple did not allow multitasking up to now. Given how slowly single apps load on their flagship 3Gs, true multitasking will bring it down to its knees. The iPhone OS takes much more resources to run than Maemo or Android, and the iPhone single tasking is a way of masking it. Of course this is speculation since except for the basic Apple apps, nobody managed run more than one app at the same time on the iPhone. And I'm sure those Apple apps are optimized and tweaked to hook into the OS and stay loaded at all times. Most likely the 4G will have a faster processor and more RAM, and will compensate for the OS shortcomings through brute force.

  • Re:Yah but... (Score:0, Interesting)

    by Anonymous Coward on Thursday March 11, 2010 @03:53PM (#31442746)
    It can, but Apple won't let you becasue they don't see the need for you to use the device how you want. It is all about what Apple wants.
  • by Anonymous Coward on Thursday March 11, 2010 @03:58PM (#31442852)

    Apple, Welcome to 2005 and the Nokia N770 http://en.wikipedia.org/wiki/Nokia_770_Internet_Tablet [wikipedia.org]. Way to go!

    OTOH, I suppose you sold more iPhones **today** than all the 770s sold since they were released.

    Disclosure: I have a $200 (new) Nokia N800 and routinely multitask email, music, podcost downloads and browsing while at home.
    When on the driving I multitask GPS (maemo-mapper) and music/podcast playback.
    When hiking, I run Maemo-mapper and GPSView to help find those geocaches.

    The GPS stuff helps me to geotag my photos later. Scroogle "N800, photos, gps" for more information.
    Best of all, no cell phone contract.

    Someone asked about the best way to get a Nokia N900 in the USA. If best is cheapest over a 2yr life, then buy it unlocked from amazon and bring your GSM SIM card with you to the N900.

    Again - Apple - welcome to the show. You should be commended on your innovative efforts!

  • by CharlyFoxtrot ( 1607527 ) on Thursday March 11, 2010 @04:00PM (#31442896)

    It's a computer with wireless.

    It is and it isn't. Apple seems to think they've finally hit on the much anticipated "computer as consumer appliance" while most geeks think it should just be a computer which does phone calls. This is the reason for most of the controversy around some aspects of the iPhone and iPad.

  • by kehren77 ( 814078 ) on Thursday March 11, 2010 @04:07PM (#31443042)

    I think the key, especially for your parents, is making it very obvious as to whether you are closing or backgrounding a program. That's one of the things I hate about my Blackberry Curve 8330. Almost every app is different, some you "Exit", some you "Close", some close when you hit the back button, some stay open when you hit the back button.

    It makes it a pain in the ass to try and figure out what all you have running.

  • by colourmyeyes ( 1028804 ) on Thursday March 11, 2010 @04:13PM (#31443166)
    To me my laptop is a computer with wireless. It isn't to the vast majority of consumers, to them it's a chat/email device (occasionally a phone), PDA and content delivery platform (music and video).
  • by Guy Harris ( 3803 ) <guy@alum.mit.edu> on Thursday March 11, 2010 @04:23PM (#31443390)

    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

    iPhone OS is a UN*X; multi-tasking is ultimately implemented as "calls that wait for something to happen end up making a system call and the process blocks".

    then there should be no more drain when "multitasking" then when running one application.

    ...unless, for example, an app is continuously updating the display, showing an animated ad, or displaying a game screen, or.... Perhaps the app would be told "you're going into the background, stop updating the screen (but don't necessarily stop playing audio)".

    s far as I can tell using the backgrounder on my jail broken iphone when not actively working most programs still consume cycles.

    What indicates that they're consuming cycles, rather than just blocked in a system call?

    So almost all of this could be fixed if the wait() call is not properly implemented in the lib.

    As per another comment of mine, iPhone OS being a UN*X, wait() is the call you use if you've started a subprocess (fork()/vfork(), posix_spawn()) and you wait to wait for it to exit. There is no single call that is the call to wait for something to happen - there are a whole bunch of blocking system calls such as read(), recv(), recvmsg(), connect(), etc., as well as the usual wait-for-events calls such as select(), poll(), and kevent(), plus the Mach messaging calls. Most apps probably use higher-level APIs that are built atop them.

  • by c.r.o.c.o ( 123083 ) on Thursday March 11, 2010 @05:12PM (#31444376)

    Your post has made me curious and I'm watching now the review of the N900 right here: http://www.youtube.com/watch?v=PvPTBwEg5UA [youtube.com]
    Now, I dunno if my perception is screwed or something but the apps on there take 2-4 seconds to launch and the touchscreen does lag tiny little bit in some of them.
    On the other hand the apps on the vilified 3gs load - as far as my perception is concerned - within 1-2 seconds.

    The latest N900 firmware resolved a LOT of issues. Not sure what firmware the review phone is using, but looking at his theme, it's an older one. My N900 with firmware 3.2010.02-8.002 released about a month ago loads up ALL apps faster than in the review. Same goes for the touchscreen lag. The next firmware, due to be released in a couple of weeks will improve things even further.

    But that's not all. :) The N900 also gets faster as you use it. After a cold boot the RAM has 100Mb used, but after loading all sorts of apps it goes up to 153Mb and stays there. Those extra 50Mb contain cashing data for all your apps. I just tried every app I could think of: Communications (SMS and IM), Firefox, Contacts, Phone, Media Player (not MediaBox), Disk Usage, battery-eye, Settings, Application Manager, File Manager, Xterm, PDF Reader, Email. Every single one loaded up instantly, in less than 1 sec.

    The only offender is MediaBox, because it insists on scanning your entire device for music, movies, etc. BTW, the N900 can play regular AVI movies without dropping frames or losing sound sync, AND it can output to any TV. I watched 9 (the entire animation movie) full screen on my HD TV the other day. :))

    And I NEVER need to reboot my N900, it's rock solid. Even if the first time you start the apps it takes as long as on the iPhone, after 10 mins of use it's much faster.

    Except that the iPhone does run Apple apps in the back ground. The OS has a number of things running to be able to receive a call, keep it touch with the tower, update the battery icon, the signal bars, etc.
    Even though 3rd party apps can't run in the back ground, the iPhone is running several tasks all the time. Its just those task were all written by apple.
    I haven't seen the N900, so I can't speak to the speed difference.

    Well olddotter, the N900 has to perform all the phone related tasks you've listed as well. So your point doesn't apply.

  • by c.r.o.c.o ( 123083 ) on Thursday March 11, 2010 @05:54PM (#31445084)

    I am getting at least 1 day for a charge, usually 2 days. BUT here's how I use it:

    - 1-2h worth of phone conversations over GSM with a BT headset.
    - 1-2h a day as an ebook reader. Fbreader is AWSOME, between my old N800, N810 and now N900, I think I read 100 books using these devices.
    - Constantly connected to WiFi (where available, which is almost everywhere for me) or 3G, checking my gmail accounts every 5 mins throughout the day, being available on skype, etc.

    The difference between 1 day and 2 day charges is whether or not I play movies, use the FM transmitter or the GPS. Streaming flash clips off the web through WiFi or 3G will take a LOT of battery life. Same goes for using the FM transmitter to broadcast music to my car stereo, or the GPS but that's in my car where I have a charger.

  • by amRadioHed ( 463061 ) on Thursday March 11, 2010 @06:23PM (#31445488)

    The apps most likely to be running in the background on my phone are various audio players, google navigation, and other various gps apps for recording trip information.

  • by bemymonkey ( 1244086 ) on Friday March 12, 2010 @04:33AM (#31449420)

    The multitasking aspect is essential for things like keeping an instant messenger or VoIP app running in the background (a 24/7 scenario here)...

    Although I've got to say - most Android IM apps suck at staying connected in the background. Fring, eBuddy, Nimbuzz - they all disconnect (and then don't reconnect automatically!) or crash after a while...

THEGODDESSOFTHENETHASTWISTINGFINGERSANDHERVOICEISLIKEAJAVELININTHENIGHTDUDE

Working...