So is multitasking like having background apps?

michael31986

macrumors 68040
Original poster
Jul 11, 2008
3,780
458
For example will I be able to leave facebook up and get notified almost like blackberrys do or is push still the factoring to do that.
 

stridemat

Moderator
Staff member
Apr 2, 2008
11,177
591
UK
I think thats what Push is primarily for. Multitasking just means you can have many apps open at the same time.
 

Revelation78

macrumors 68000
Dec 18, 2008
1,508
11
North Carolina
For example will I be able to leave facebook up and get notified almost like blackberrys do or is push still the factoring to do that.
I haven't dug through the new API to see how it's implemented. More reports will be out over the next coupe of weeks with details.

That will still be the responsibility of Push. Unfortunately, push alerts from facebook only works about 5% of the time for me.
Strange, mine works just fine.
 

maflynn

Moderator
Staff member
May 3, 2009
65,063
30,991
Boston
apple is only exposing a small set of services for background processing. What apple did is make a task switcher. Except for audio and such most applications will not be executing in the background.

They did improve push notification but I'm not sure if that's capable of running in the background like an audio app.
 

Niiro13

macrumors 68000
Feb 12, 2008
1,719
0
Illinois
Like Revelation said, still have to check APIs.

Based on what was listed at the live coverage...

Since you're comparing the iPhone 4.0 multi-tasking as like having background apps, I will say it's different.

Background applications keep the entire application in the background as if it was running in the foreground. Maybe the operating system will allocate more resources to the foreground application so the background will run slower than foreground, but it will run the same.

So take AOL Radio for example. When you're listening in the foreground, it has a ton of stuff like the album art, the title and author of the song, etc. When it switches a song, it downloads the new album art, puts some fancy animation, and updates the title and singer.

Now if you're backgrounding, it will do all that.

With Apple's multi-tasking, it will only continue streaming the audio and I believe it won't update the visual stuff. So when you go back into the app, it will download the album art and stuff. This will save a good amount of performance and battery life.

Note that Push is still there as an option (remember, Push is basically a background idle connection to the Apple servers).

But honestly, I don't really understand your description. How is Facebook's Push different than the notifications from Blackberry?
 

Small White Car

macrumors G4
Aug 29, 2006
10,897
1,125
Washington DC
For example will I be able to leave facebook up and get notified almost like blackberrys do or is push still the factoring to do that.
The deal is, the apps don't run, but they can tell the iPhone to run a thing for them.

So Pandora doesn't run in the background, but the iPhone can keep playing Pandora's music.

Your Tom-Tom app doesn't run in the background, but the iPhone can keep reading off the map's turn-by-turn directions as you travel.

Facebook doesn't run, but Apple's push services can tell you what's going on.

There are 8 ways (including Push) for apps to tell the iPhone "hey, you do this particular thing while I'm closed." In addition, there are now better ways to "freeze" the app so that when you open it up again everything is the same as when you left.

So you put all that together and the phone does all the same things that multitasking does...just with less battery usage. If you can think of a background task that ISN'T covered by those 8 things, I'm sure Apple would love to hear about it in their feedback form. They seem to want to cover every possibility.
 

TheCheapGeek

macrumors 6502
Jul 10, 2008
468
2
You can leave an application open and local notifications can take care of it. Push notifications are not required anymore.
 

fishkorp

macrumors 68020
Apr 10, 2006
2,285
89
Ellicott City, MD
You can leave an application open and local notifications can take care of it. Push notifications are not required anymore.
Local notifications are just timers. Facebook (for example) can't fire off and check if there are new messages and send you a local notification. A push notification is still needed for that.
 

michael31986

macrumors 68040
Original poster
Jul 11, 2008
3,780
458
So face book runs the same I can just switch between it easier. Can I leave it in the multi tasking bar or whatever.
 

gloss

macrumors 601
May 9, 2006
4,811
0
around/about
Local notifications are just timers. Facebook (for example) can't fire off and check if there are new messages and send you a local notification. A push notification is still needed for that.
Local notifications help take a load off the push servers in cases where the app was having to ping out to the server and then back to your phone to tell you that, for example, you have a To Do item deadline coming up.
 

jtara

macrumors 68000
Mar 23, 2009
1,835
440
Lots of misinformation on this. From a user standpoint, you have true multi-tasking. It's just the way it's implemented that is a bit unconventional.

Local Notifications are the doorway to anything that isn't covered by the others new services.