|
|||||||
| Register | Members List | New Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Kasper's Automated Slave
Join Date: Nov 1997
Posts: 6,159
|
Apple seeds developer tools for background-conscious iPhone apps
Apple has equipped some of its developers with the tools needed to begin authoring iPhone applications that can receive data over the internet, like instant messages, even when they're not running.
The capability to produce these applications, sometimes called background apps, has been atop the wish lists of iPhone developers, mainly because Apple prevents the iPhone from running more than one application at a time. That means that an instant message conversation in AOL's free AIM app for the iPhone would abruptly terminate should a user receive a phone call. The user wouldn't receive any new incoming messages until the phone call was over and the AIM application was relaunched. The same would happen if a user clicked on a web link sent via instant message, triggering the Safari app to launch and the AIM app to quit. Apple's argument against traditional background-capable applications is a sound one, and one that's in the best interest of iPhone users. During the company's recent developers conference, iPhone chief Scott Forstall noted that implementations of background applications on rival mobile operating systems are largely flawed in that they lead users to believe that they've quit applications when those apps remain open. This in turn eats at battery life, where the iPhone 3G is already limited by power-hungry 3G and location services, and also weighs on processor performance with each additional application that continues to run as a background process. To solve this problem, Forstall said Apple was developing an alternative to background applications known as a "Push Notification Service" that developers could tap through a series of APIs, or easy to use programming functions, beginning in September. Instead of allowing potentially dozens of third party services to simultaneously access an iPhone directly, the push service would funnel all transmissions from developers' servers through a central Apple server, which would then relay the data to iPhones through a single persistent and well-managed background connection. Apple's overview of its Push Notivation Service. Through this technique, Forstall said developers can push badges to icons (like the email count indicator seen on the iPhone's Mail icon), notification sounds, or pop-up text alerts like those that currently appear when an iPhone receives a text message. This management system was also developed to scale easily with larger apps, the exec said. The first beta release of iPhone Software 2.1 last week whet the appetite of iPhone developers waiting on the push capabilities when it included some references to the feature. However, a second beta that arrived last night finally includes a rough implementation of the push services API, according to MacRumors. "This is the second beta of the iPhone SDK targeting iPhone OS 2.1, including bug fixes to iPhone OS as well as an early implementation of the Apple Push Notification Service API," Apple said. "This API is not yet integrated with a live push server." Only a select group developers are reported to have received the latest beta, which as Apple noted, isn't fully functional. Still, the iPhone maker has two months left to meet its self-imposed deadline to roll out Push Notification Service tools to its broader developer community. If it makes good on its promise, the first background-conscious iPhone applications should start cropping up on the App Store later this fall. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Oct 2006
Location: Bay Area, California
Posts: 313
|
Okay... so we're not really talking about applications running in the background as the article sounds at the start, are we? We're talking about the push notification service which has already been announced and is expected? Big difference...
“The true measure of a man is how he treats someone that can do him absolutely no good.”
—Samuel Johnson |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2006
Posts: 53
|
I think this ability will be both popular and useful. I've already had quite a few iPhone developers contact me about getting some Mac servers set up to push their notifications. They're excited to have the ability.
I suppose the biggest worry is that it will be overused. (digg.com shouts anyone?) but as long as there are options to turn them off, and you keep an eye on what apps you install that use them, I suppose it will be bearable.
macminicolo.net - Use your Mac mini as a server. Low cost, high performance.
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jan 2003
Location: Philly, USA
Posts: 117
|
"Their" is not the same as "they're" - sorry to be a grammar Nazi, just noticed that mistake in the opening sentence.
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Mar 2006
Posts: 955
|
Quote:
I wonder if they learned their lesson from the mobileMe launch? Hopefully they will have adequate server capacity to handle all the notifications. Every developer and his uncle is going to want to use this. |
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Oct 2006
Location: Bay Area, California
Posts: 313
|
Quote:
But yes, I imagine there will be a huge demand for this. Nearly half the apps on my iPhone, by my count, could take advantage of some kind of notification service. I think it would be a great service. I got curious when I first started reading the article. It makes it sound like background activity will be allowed (are you misbehaving, AppleInsider? Trying to get clicks?) -- something which would be very cool for programs like Pandora. Apple's reason for avoiding this is, indeed, very legitimate, though. They'd have to police an author's implementation to prevent instability and bogged down phones.
“The true measure of a man is how he treats someone that can do him absolutely no good.”
—Samuel Johnson |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2006
Posts: 115
|
What they really need is some sort of background audio framework, so that apps like Pandora or AOL Radio could do what the iPod app does and keep playing even when you've moved to a different app. Unlike Push, only one app could use it at a time, and it shouldn't require keeping the entire app open, just some little 'helper' that keeps up the streaming going (or whatever the app in question does to get its audio)
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jun 2002
Location: Ottawa
Posts: 398
|
|
|
|
|
|
|
#9 | ||
|
Registered User
Join Date: Jul 2006
Posts: 115
|
Quote:
Quote:
|
||
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jul 2008
Posts: 3
|
We need more than notifications...
That's nice, sure. But in-iPhone background processing is still needed. Like brianus' example of background audio for Pandora or AOL Radio. Or location-based software. I'd love a app that would tell my family's iPhones where I am (and vice versa) every minute or so. How cool would that be on the ski slopes?! But I wouldn't be able to listen to music at the same time unless it's running in the background...
|
|
|
|
|
|
#11 |
|
Registered User
Join Date: Jul 2007
Location: Reston, VA
Posts: 367
|
Hope it doesn't crash the servers like mobileMe did. Will apple support the whole world with these push services?
I think after WindowsMe, anything with Me at the end is cursed. =) Thank god Apple did not name AppleTv -- TvMe. ![]() |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Jan 2006
Location: Houston, TX
Posts: 138
|
I think the way they are handling this is very smart for now. However, I think future iPhones will be just as capable in terms of processing and memory allocation as full-size computers and run on the same size battery. Then, we will look back and laugh at the current limitations as if it was an 80's model PC.
|
|
|
|
|
|
#13 |
|
Registered User
Join Date: Nov 2007
Posts: 3
|
Skype will be useless even with this notification stuff. How can an incoming call come through if the app doesn't run.
|
|
|
|
|
|
#14 |
|
Registered User
Join Date: Oct 2006
Location: Greenville, SC
Posts: 852
|
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Jun 2007
Posts: 423
|
Removed....
|
|
|
|
|
|
#16 |
|
Registered User
Join Date: Feb 2006
Location: Ireland
Posts: 8,561
|
LOL yeah, talk about a "loaded" story title!
Collecting my SSD iMac Fry-die. :D
|
|
|
|
|
|
#17 | |
|
Registered User
Join Date: Feb 2006
Location: Ireland
Posts: 8,561
|
Quote:
Collecting my SSD iMac Fry-die. :D
|
|
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Feb 2006
Location: Ireland
Posts: 8,561
|
Quote:
A textual alert for the Skype app might be: Sarah is calling you on Skype? Ignore - Answer Tapping Answer could then launch the skype app and put Sarah and you in connection for that voice call. I thank you. ![]()
Collecting my SSD iMac Fry-die. :D
Last edited by Ireland; 07-31-2008 at 01:08 PM.. |
|
|
|
|
|
|
#19 |
|
Registered User
Join Date: Nov 2001
Location: In rehab for sex addiction
Posts: 9,481
|
|
|
|
|
|
|
#20 | ||
|
Registered User
Join Date: Oct 2006
Location: Bay Area, California
Posts: 313
|
Quote:
And spare me the MobileMe drama. :P Apple is trudging through a rocky road, definitely, but it has just come out and I have a feeling they'll be ironing this out rapidly until it becomes a well oiled machine. Unlike .Mac they have a winner, here, and I think they know it. There's nothing else on the internet quite like what MobileMe can be. If you think mistakes in regard to rolling out such an exceptional new service somehow reflect on a company with such a rock solid background of providing wonderful revolutionary products, I would suggest you look up the definition to 'perspective' in the dictionary. Quote:
I agree with you and the other poster about a background audio service, though. I think that is something Apple could implement and it is exactly the sort of thing the misleading title of this article got my hopes up about. I would love to have Pandora going while I did something else on my iPhone. It is a rocky road, though, as all it takes is some irresponsible programming in a few apps to flip the iPhone experience over on its head.
“The true measure of a man is how he treats someone that can do him absolutely no good.”
—Samuel Johnson |
||
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Sep 2005
Location: Toronto
Posts: 421
|
Quote:
In addition, I'd like to see something whereby, if you're listening to your iPod and you run a 3rd party app which wants to take control of the audio subsystem, you can choose which audio stream you want. Or better yet, just allow proper audio sharing between apps.
It's a world full of people
|
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: Feb 2006
Location: Ireland
Posts: 8,561
|
Didn't I already answer this.
Collecting my SSD iMac Fry-die. :D
|
|
|
|
|
|
#23 |
|
Registered User
Join Date: Sep 2007
Location: Raleigh, NC
Posts: 31
|
Humm..
While this is going to be *AWESOME* for a lot of the Apps out there, I wonder what sort of load it's going to place on Apple's servers. We already saw that they cannot seem to handle crazy amounts of traffic and use with the MobileMe fiasco.
You're going to have tons of apps sending messages using Apple's servers as a proxy. So, unless it can be limited to very small amounts of data (such as a simple notification, small string, etc) it could cause major problems do to the sheer number of requests. Let's say that you have AIM up and then you get a phone call. I'd imagine that this will "close" AIM and open up the call. Then, all of your instant messages that happen during the call, would now go to Apple instead of my your iPhone. Then you hang up the call and you would see that you missed 6 IM's. So, while the whole time AIM was "closed" the AIM servers hit Apple's 6 times. Even if they are only passing tiny amounts of data, this could cause major load issues for Apple's servers. Am I missing something? Or does this sound about right? |
|
|
|
|
|
#24 | |||
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
Quote:
Will this hiccups? Probably, there usually are with any new tech. Will be as bad as MM? Not probable. Quote:
Quote:
But would this be enough time from the Skype server to the Apple notification server to the iPhone pop-up to you responding to get the Skype phone app to answer before it gets sent to voicemail? Could the notification service on the iPhone auto initiate the Skype app service on the notification servers when you connect to WiFi or would you first have to manually open the Skype to get it started? Since the iPhone can connect to 6 calls at once would the iPhone be able to aggregate regular cell calls and WiFi calls into one party line (I'm planning a heist and this would really help keep the Feds of my trail)?
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
|||
|
|
|
|
|
#25 |
|
Registered User
Join Date: Nov 2001
Location: In rehab for sex addiction
Posts: 9,481
|
|
|
|
|
|
|
#26 | |
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
Quote:
Method 1:The latter only works if AIM doesn't use a pop-up with the message imbedded. Judging by how poorly made the iPhone's AIM is with as much time as they have had I'm guessing they will go the easier route of letting Apple do the all heavy lifting. PS: I know that Adium has a legal quandary with making an iPhone app, but I'd like to see Meebo make an local app portal for their great multi-client web app. They could still leave all the IM protocols on their servers and relay the messages to an iPhone app that would work with the Apple notification services. AIM for the US, but the rest of the world isn't using it.
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
Last edited by solipsism; 07-31-2008 at 02:42 PM.. |
|
|
|
|
|
|
#27 | ||
|
Registered User
Join Date: Jul 2006
Posts: 115
|
Quote:
I'm glad you've had no problems with Apple Mail, but others have. Rules, for instance, have a number of bugs and limitations that have dogged me for years, and confounded the Apple engineers I've presented the problems to, but they're still present in 3.0. Unfortunately due to Apple's opaqueness you never know what they're going to fix and what they'll let languish. Quote:
Of course, on the bright side, perhaps a few more high-profile screwups like Mobileme will force them to put more resources into quality control. I hope so.. I'd really like to get reliable Wifi back on my phone. |
||
|
|
|
|
|
#28 | |
|
Registered User
Join Date: Sep 2007
Location: Raleigh, NC
Posts: 31
|
Quote:
|
|
|
|
|
|
|
#29 | |
|
Registered User
Join Date: Mar 2006
Location: Olympia, WA
Posts: 169
|
limitations
Quote:
Speaking of limitations, the article mentioned the drainage of battery due to 3G. I'm assuming the 3G is best used for fast internet and not the phone features, correct? If so, can the 3G technology be "quickly" turned on and off as needed, or better yet, be set to implement only when the web is activated? I just ordered 2 iPhone 3G and am patiently waiting. Never own one before. |
|
|
|
|
|
|
#30 |
|
Registered User
Join Date: Jul 2008
Posts: 2
|
looks like RIM servers
I remember an Apple video explaining how great is the Apple solution for enterprise applications. No third party server to get access to emails like those proprietary solutions from RIM with Blackberries. Direct connection from your iPhone to the Microsoft Exchange server. So what's this story of a unique Apple server for push exchanges ???? The Apple world is not so open.
|
|
|
|
|
|
#31 | ||
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
Quote:
Quote:
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
||
|
|
|
|
|
#32 | |
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
Quote:
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
|
|
|
|
|
|
#33 | |
|
Registered User
Join Date: Nov 2001
Location: In rehab for sex addiction
Posts: 9,481
|
Quote:
The bandwidth isn't the issue, it's whether Apple has its act together enough to implement it correctly, and the mobilme experience doesn't bode well. |
|
|
|
|
|
|
#34 |
|
Registered User
Join Date: Feb 2006
Location: Ireland
Posts: 8,561
|
When the accept / answer buttons is tapped the app would launch, "wake" was used figuratively. I answered it.
Collecting my SSD iMac Fry-die. :D
|
|
|
|
|
|
#35 |
|
Registered User
Join Date: Oct 2003
Posts: 24
|
Push notifications != Background application
|
|
|
|
|
|
#36 |
|
Registered User
Join Date: Sep 2007
Location: Raleigh, NC
Posts: 31
|
So the bandwidth might not be a problem, but it's still a lot of connections to the Apple servers. Don't you think that will have some affect?
|
|
|
|
|
|
#37 |
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
Who said differently?
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
|
|
|
|
|
#38 |
|
Registered User
Join Date: Apr 2006
Location: The Ansible
Posts: 11,839
|
It all has an effect, but the simplistic of the service makes it far easier to scale than a very complex system like MM.
Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
|
|
|
|
|
|
#39 | |
|
Registered User
Join Date: Nov 2001
Location: In rehab for sex addiction
Posts: 9,481
|
Quote:
In any case, I wasn't aware that multiple people were barred from responding to a post here at AI (especially if the first one was wrong ). |
|
|
|
|
|
|
#40 |
|
Global Moderator
Join Date: Jun 2004
Location: .US
Posts: 9,127
|
I don't think that matters so much, because I've had Safari flame out more times than all the third party apps combined.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|