Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

Devs can 'Handoff' iOS apps to browser-based UIs on Macs

Gregg Keizer | June 11, 2014
Apple's new Handoff feature in iOS 8 and OS X Yosemite not only lets users pick up on one app from where they left off on another, but it can "forward" them to a website on an iPhone, iPad or Mac.

Apple's new Handoff feature in iOS 8 and OS X Yosemite not only lets users pick up on one app from where they left off on another, but it can "forward" them to a website on an iPhone, iPad or Mac, according to Apple's documentation.

Handoff, part of "Continuity," a term Apple's used to describe several features of iOS and OS X, allows users to begin an activity — writing an email, browsing the Web, creating a document — and then resume it on another device.

The feature relies on proximity awareness — powered by Bluetooth — on Apple hardware to recognize devices registered to the same iCloud account. Once that ad hoc pairing takes place, users can hand off in-progress tasks. Apple will support Handoff on many of its own iOS apps and OS X applications bundled with iOS 8 and Yosemite, including the iWork troika — Pages, Numbers and Keynote — Contacts, Mail, Maps, Notes, Reminders and the Safari browser.

But it will also open up Handoff to third-party developers via several APIs (application programming interfaces), giving them a chance to add the feature to their own wares.

Although Apple demonstrated the feature last week using its software, developers can bake Handoff "awareness" into their apps and applications. For example, someone who started a document on the iPad version of the Byword text editor could finish it on the OS X application, assuming the program's developer added Handoff support.

But not every iOS or OS X app has a corresponding sibling. There may be an OS X version, but not one for mobile, or one for the iPhone but not for the Mac.

"There can be a situation where the user is using a native application on the originating device, and the user wants to continue the activity on another device that does not have a corresponding native application, but there is a Web page corresponding to the activity," Apple stated on one page of its preliminary Handoff developer documentation.

In that case, developers can create links between an iOS or OS X app, and the developer's website. For example, Feedly, the RSS service that supplanted Google Reader last year, has an iOS app but not a native application on OS X. For the latter, a browser-based interface — slick though it is — is all that's available.

Feedly could provide Handoff support in its iOS app; users would be able to pick up where they left off on the Feedly UI (user interface) on the Mac within Safari.

According to public documentation for Handoff — and a 50-minute WWDC session that was recorded and is available for playback — Feedly's engineers would have to prove that they own the domain they will pass from their iOS app to Safari. Browser developers may also direct the in-progress command sent from an app so that a non-Apple browser opens rather than Safari, assuming the user has set the other browser as their default.

 

1  2  Next Page 

Sign up for Computerworld eNewsletters.