iPhone

iPhone - News, Features, and Slideshows

News

  • Apple's iPhone development kit rocks

    Eight months ago, Apple was a non-player in the mobile space. Now, according to Apple, iPhone is the second most popular smartphone solution after BlackBerry. With all the hoopla he raised over iPhone at launch time, it's as if Steve Jobs saw this coming.
    What he admits he didn't see coming was the market's reaction to the lack of a software development kit (SDK) that would support third-party apps on iPhone. iPhone is the only smartphone platform without custom application support, and that fact locked Apple out of the fleet sales that are RIM's bread and butter. It also disenfranchised the Mac developers who put Mac on the map and keep it there with, wouldn't you know it, native applications. I have weighed in on the subject of an iPhone SDK for native software in my usual soft-spoken, dead-horse-friendly way. "Apple, don't brag that iPhone runs OS X," I said, "until developers can get at it."
    Come June, Apple gets a pass to brag about its mobile OS all it likes. That's when Apple is slated to deliver its SDK for iPhone, and from the work I'm doing with the publicly available preview tools and documentation, I can attest that iPhone will be the simplest, best-documented and most enjoyable experience for mobile application developers. I have coded fairly extensively with Symbian, Windows Mobile and BlackBerry. iPhone just blows them away, making me wonder who decided that mobile development had to be difficult. I'll take that a step further: If you're new to programming, iPhone or iPod Touch is a splendid place to start.
    I can't do the iPhone SDK justice in one post, but I can hit a couple of the high notes that earn Apple props for taking the SDK further than it had to. For openers, application developers don't need to use Objective-C, C or C++ to write software for iPhone. Apple added the one thing I was sure it wouldn't add — data persistence — to iPhone's Safari browser, paving the way for applications crafted in JavaScript, HTML and CSS that run even when the network is unavailable. What's more, iPhone's JavaScript persistence doesn't force programmers to deal with flat text files or XML. It uses SQL, complete with transactions. Apple also put some flash (ahem) in Safari's GUI with built-in support for Scalable Vector Graphics (SVG) and both automatic and explicit animation. Apple supplies web app code snippets that mimic iPhone's native GUI, and a web application can take over the whole screen, leaving no trace that it's running in the browser. iPhone's offline web app support is so strong that I'm looking forward to seeing it ported to Safari for the desktop.
    On the native side, we now know that the iPhone OS is based on OS X 10.5, aka Leopard, and that Apple has catered to Mac developers. Their skills, and fair chunks of their code, will move readily to iPhone. In fact, there are so many similarities between the Mac and iPhone that much of learning to code for iPhone is familiarising yourself with what you can't do. For example, the same presentation facilities, such as OpenGL and Quartz, are present in desktop and iPhone OS X, but OpenGL is slimmed down to OpenGL ES (embedded systems), and Quartz is limited to 2D graphics. But use the word "limited" carefully where the iPhone SDK is concerned. Quartz may be limited to 2-D, but it can still load, display, scale, annotate, and save PDF files. Can your phone or music player do that?
    Native iPhone applications have access to standard POSIX C APIs and other must-haves such as Berkeley Sockets for TCP/IP communication. All third-party code runs in a sandbox, meaning that the OS exerts tight control over its access to system calls, TCP ports, files and other resources. You can't write an application that dips into another app's files. You can't write a custom mail or Telnet server that listens on the standard TCP ports for these services, whether the iPhone OS is using those ports or not. Of course, there's no path from the sandbox to any device internals that you could use to flip the phone to a different wireless operator. The sandbox is tight enough that a hacker would have to punch through it to pillage or hobble your iPhone, and Apple has set it up so that every application can be traced back to its creator. Apple's method for registering and certifying applications will engender controversy, but users need to know that they can sample the riches of iPhone software in complete safety.
    I'll leave you with two details that put iPhone way over the top for developers: namely, the multitouch display and the three-axis accelerometer. Both of these are accessible in native code as well as JavaScript. Complex multitouch gestures such as pinch, spread, sweep and circle are sent to software as events along with the basic tap and drag. To make the on-screen keyboard appear, you don't ask for it. You simply move the focus to a text field.
    The accelerometer is developer candy that will break Apple into the gaming market in a way that the Mac never could. iPhone can sense orientation and movement in 3D space. As you move, or whatever is carrying your iPhone or iPod Touch moves, an application can know about it. The possibilities are endless, and there are serious uses for 3D position sensing that can't be set aside. It's an ultimately intuitive controller for complex processes that currently require operators to bypass humans' natural 3D perception in favour of 2D controls such as buttons, switches, mice and joysticks.
    It's my job to dream big, but developers will come up with far more down-to-earth uses for iPhone and iPod Touch. Apple's main interest is in opening iPhone to enterprises that demand mobile devices they can customise to suit their needs. The SDK gets Apple there, and Apple's Mac-like approach stuffs the market with thousands of developers ready to code for the phone. Those enterprises in need of custom code for fleet-issued handsets don't have to look very far for talent. By year's end, there will be a glut of great software for iPhone and iPod Touch, much of which will cost nothing. And to top it off, Apple will host the entire catalogue of third-party software.

  • iPhone SDK offers big potential for users, developers

    This month's iPhone software development kit (SDK) announcement by Apple — long anticipated and long overdue — is big news for iPhone (and iPod Touch) users. Sure, there's a hitch: Just like last year, when Apple unveiled the iPhone in January then made would-be buyers wait six months to get their hands on it, everyone will have to wait until June for all the promised applications and advances to arrive.

  • iPhone opens to Exchange email

    Enterprise bans on iPhones may be lifted with the announcement on Thursday that the iPhone will support Microsoft Exchange email.

  • Local developer 'overwhelmed' at Macworld

    Christchurch-based Polar Bear Farm, a software development company specialising in developing native applications for the iPhone, has had over 300,000 downloads of one of its applications since it was released in October last year.

  • What the iPhone can, and can't, provide enterprise users

    With AT&T's announcement last week that it would begin offering iPhone data plans, many CIOs and IT executives may be curious to see how the popular consumer devices can boost productivity within the workplace. But before making any investments, CIOs should have a clear understanding of just what the iPhone can and can't provide for enterprise users.

  • China Mobile in talks with Apple to sell iPhone

    China Mobile is in talks with Apple to sell the iPhone in China, the company's CEO said this week. But he's not keen on the type of revenue-sharing model that Apple has insisted on elsewhere in the world.

  • Forum: Apple, RIM and my lost Hotmail

    I was out at lunch the other day with an avid Blackberry user. He was showing off his new Curve, as gadget people are wont to do. He was clearly pretty chuffed with it, but then started to have the odd gripe, such as about how unintuitive some of the functions were (from memory, Mute was one of these).

  • Apple to release unlocked iPhone in France

    Under a just-announced deal, the European mobile carrier Orange will be the exclusive source for the iPhone in the French market. The unlocked phone is concession to a French law that forbids companies to bundle a cell phone to a specific mobile operator.

  • New iPhone lawsuit seeks $3.4B in damages

    A class-action lawsuit targeting Apple and AT&T, filed last week in federal court, accuses the companies of illegally conspiring to tie iPhone customers to the telecom company's wireless network.

[]