• On Metacritic: How does BioShock 2 match up?
February 19, 2009 8:43 AM PST

Google shows Web-based offline Gmail on iPhone

by Stephen Shankland
  • Font size
  • Print
  • 8 comments

Showing that its Web application priorities extend to the mobile world, Google on Wednesday demonstrated a version of Gmail for the iPhone that could be used even when the phone had no network connection.

Vic Gundotra, Google's vice president of engineering, showed off at the 2009 GSMA Mobile World Congress in Barcelona what he called a "technical concept" of Gmail even when the iPhone was offline. In January, Google released an offline version of Gmail for desktops and laptops, and like it, the mobile phone incarnation runs in a Web browser, not as a native application.

The software let Gundotra browse and read e-mail even after he switched the phone into airplane mode, which shuts off the wireless network. To watch a demonstration, check the demo video on iPhone Buzz.

Offline applications can't of course retrieve new data from the network, but they do synchronize when network access is restored. Meanwhile, e-mail is stored in a local database on the phone, even when online.

"You'll note that it's very, very fast because it's using that local database," Gundotra said. The application also showed a floating toolbar that was visible even as he scrolled through his in-box.

It's significant for several reasons that Google is eyeing a new version of its Web-based Gmail application for the iPhone. For one thing, the company wants to bring to the iPhone all of Gmail's features--search, labels, and conversations, for example--and Apple's built-in mail application lacks those abilities. But more broadly, the move is significant because it shows how Web-based applications can bypass the control that particular companies such as Apple or Microsoft have over a computing technology.

HTC's newest Android-powered phone, the Magic.

HTC's newest Android-powered phone, the Magic.

(Credit: Crave UK)

Apple has achieved tremendous success with its App Store, which lets people download and buy software for the iPhone and iPod Touch. But it controls that conduit, and it only can deliver software written specifically for those devices. Web applications run in a Web browser, and all smart phones have browsers--though, of course, hardware and network constraints typically mean they're anemic compared with desktop versions.

In case the point about the power of Web applications was lost on observers, Gundotra showed the same Gmail software running on the HTC Magic, a new phone using Google's Android operating system.

"You now have an ability to build an app that spans devices as long as that device implements the latest specifications of these modern HTML 5 Web browsers," Gundotra said.

The mobile phone version of the Gmail software uses a somewhat different approach to enable offline access.

Where the desktop version uses a Google-developed open-source browser plug-in called Gears to enable offline support, the iPhone version uses the offline data storage standard of HTML 5, the gradually emerging overhaul of the language used to describe Web pages. That technology can cache the state of an application as well as data such as messages.

Of course, getting a modern, full-featured browser on a PC with plenty of memory is hard enough, and mobile browsers generally lag PC versions. However, it should be noted that Safari on the iPhone, like the browser in Android, is based on the WebKit open-source project, and WebKit has been building in offline support. So at least on some higher-end phones, a Web-based version of offline Gmail could be an option sooner rather than later.

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Add a Comment (Log in or register) (8 Comments)
  • prev
  • next
by flickrz February 19, 2009 9:43 AM PST
What they demonstrated was more to do with new HTML5 standard than offline gmail.
Reply to this comment
by scottthesculptor February 19, 2009 9:55 AM PST
wow! what a "technical concept"! <br />Just like using the 2400baud modem on the BBSes in th 1980s <br />log on, download your messages, upload your responses and log off. <br />then read and respond offline. <br />brilliant! <br /> <br />I'm constantly amazed.
Reply to this comment
by Shankland February 19, 2009 11:33 AM PST
I'd argue that being able to check your e-mail with your mobile phone is a pretty significant change from the days when CompuServe ruled the world. Also, the ability to program a Web site that permits many phones to get that access is significant. A standard iPhone lets you read your e-mail offline, too, but not use important Gmail-specific features such as search and labels.
by michaelportent February 19, 2009 12:02 PM PST
This is pretty awesome for people like me with the iTouch. I'm constantly drifting in and out of WiFi signals. It'd be nice to just download my mail at one hot spot, make all my responses and send my changes at the next one.
Reply to this comment
by Vegaman_Dan February 19, 2009 8:31 PM PST
I agree 100%. The Apple mail client only works if you have a network connection present if you want t odo anything more than just read the mail.
by mscmobile March 3, 2009 1:56 AM PST
I wrote a tutorial about the technologies behind the GMail offline demo. You can find it here: http://blog.msc-mobile.com/2009/03/03/1236073555483.html
Reply to this comment
by Hugh_Isaacs_II April 3, 2009 4:25 AM PDT
Just to note (though this comment is quite late).<br /><br />Gears and the HTML5 offline spec are nearly one in the same, just that one requires a few extra lines of javascript (to note Google made both the new HTML5 spec and Gears).<br /><br />To put it simply Gears is a way to prototype features in HTML5.
Reply to this comment
by karen-mobile August 27, 2009 2:46 PM PDT
Surely you only use gmail on iphones on the go as a temporary solution and then later download to your computer anyway. <br /> <br /> [url="http://mobilephones.name"] karen [/url] <br /> <br />Or am I missing something?!
Reply to this comment
(8 Comments)
  • prev
  • next
advertisement
Click Here

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

Google's social side aims for some Buzz

Facebook and Twitter are the darlings of the social-media world, not Google--which hopes to change that with Buzz, betting it can organize your online social life.

Watching the birth of a gaming start-up

Stewart Butterfield and his friends are back at it with a new company. CNET's Daniel Terdiman was given exclusive, behind-the-scenes access as they built it from scratch.

Inside CNET News

Scroll Left Scroll Right