$bbtitle
AAPL: 92.47 ( +3.54 ) AppleInsider RSS Feed
Search:
AppleInsider.com Archives Reviews Anonymous Mailer Submit Story AppleInsider Forums Polls Advertise on AppleInsider Contact AppleInsider
AppleInsider's Mac Pricing Matrix updated December 2nd (Find the best prices on Macs).
Thursday, July 31, 2008

Apple seeds developer tools for background-conscious iPhone apps

By Sam Oliver

Published: 11:00 AM EST

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.

iPhone's push notification service
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.

Filed under : iPhone 41 Comments ] 
Story topics: iPhone 3G   Print ] [ Story Link ] 


Parallels 4.0
Mac Poker players can play Full Tilt Poker for Mac and get 100% to $600 free with bonus code MP600, courtesy of Online Poker Mac
AppleInsider Features
Hot Forum Topics

Recent Articles
Apple looking into liquid-cooled MacBooks
Apple's Snow Leopard still evolving, developers say
iPhone single-handedly driving smartphone growth
Apple finally taking orders for new in-ear headphones
Apple now "encourages" antivirus use for Mac OS X
High-quality unboxing photos of Apple's LED Cinema Display
Apple pushing Mini DisplayPort through no-fee licenses
Apple opening first German retail store in Munich this weekend
Apple a 'bright spot' during lackluster Black Friday kick-off
VMWare offering 50% off Fusion 2.0 for Cyber Monday
iPhone Dev Team successfully boots Linux on iPhone
Black Friday Mac pricing matrix (find the best prices)
Apple's Black Friday Sale: $101 off some MacBooks and iMacs
Black Friday at Amazon: cameras, GPS, hard drives, and more
Black Friday: Office 2008, Parallels, Quicken, Adobe
Google testing Picasa for Mac beta
iPhone 2.2 hides video out code for third-party apps
Apple investigating graphics issues on new MacBook lines
Early deals: $250 off new MacBook Pros, $325 off Office 2008
Apple's Black Friday discounts may rise to 15%, says firm
QuickTime 7.5.7 allows SD iTunes playback over DisplayPort
Mac small business share nearly triples over the summer
Apple's unadvertised retail store price matching policy
Talks to bring The Beatles to iTunes break down
Piper Jaffray addresses 12 more 'unanswered Apple questions'
Apple lays claim to greenest notebooks ever in new ad campaign
Apple stock surges on belief MacBooks "peel away" Windows users
Apple sued over mobile Safari as email retention policy questioned
Microsoft developing NVIDIA-based mobile phone - report
LG holds iMac-suitable touchscreen; new iTunes plus hints
Best Buy cuts prices on Apple's Mac line for 4-day sale [u]
Apple, Palm taking different steps to reduce worker overhead
Dining out with iPhone: Zagat and OpenTable hit the App Store
Apple updates Final Cut Pro, Compressor, Color, and Shake
Apple releases iPhone Software v2.2
Apple releases iTunes 8.0.2 ahead of iPhone software 2.2
iPhone security posting suggests 2.2 firmware tomorrow
Apple now No. 2 in corporate smartphone market share
Review roundup: RIM's new touchscreen BlackBerry Storm
Apple authorizes MMS on the iPhone, but not for US users

AppleInsider Market Place

Sell your Laptop - working or not. Free shipping.: Get an instant online quote and sell your laptop today !

Believe in Office: Save Up To 25% on Office 2004 For Mac. Visit Our Site for Details!

IBackup - SMB Online Backup: IBackup is the preferred online storage and backup service of choice for SMBs for its ease of use, security and value. Offers automated backup and restore, file selection and securiy.

Download free software - everyday updated freeware files

 
Advertisements








AppleInsider RSS Feed
AppleInsider © 1997-2008
Please review our Privacy Policy.
Written/Edited/Compiled by the AppleInsider Staff.