SVG makes your iPhone webapps more "flash"-y

I’ve been doing some work on a iPhone webapp (natively deployed, wrapped in PhoneGap naturally) and decided to incorporate some advanced visualizations using Scalable Vector Graphics. Achieving robust SVG support in browsers has been a long struggle, and the good news is that the latest builds of both Firefox and Safari, desktop and mobile, do it well. Safari’s support comes from the excellent Webkit project – read more about the status of their SVG support. On the desktop, SVG hasn’t gained much popularity, mostly due to the presence of Flash and Java, the incumbents when it comes to advanced visualization.

However, the reason SVG should matter to iPhone developers is that, since there is no Flash or Java support, it is difficult to achieve rich, dynamically rendered interfaces – think charts, clocks, gauges and other visualizations, through CSS alone.

The application I am developing required a working classic clock with semi-transparent wedges overlaid on top of it showing different upcoming events. The implementation is nearly done, so you will be able to see it in action soon, but for now here’s a screenshot:

working clock rendered with SVG on mobile safari

And for those of you looking to do some rad geo-hacking and break out of the bonds of Google, how about moving towards OpenLayers based SVG maps? There are some links to great SVG map demos at the end of this article. Also check out James Fees GIS Blog for a whole thread on this topic.

Not sure if this works yet in WebKit on iPhone, but have you seen this cool demo of combining SVG with the new HTML video element? Perfect for the multitouch capability of the iPhone, no?

All in all, just food for thought, and an example of a great technology that might have finally found its niche!

Here are some great SVG demos, samples, tools that should all will work in the iPhone Safari browser… and hopefully the Android version of WebKit, as well!

links for 2008-12-19

Published
Categorized as Awareness

links for 2008-12-16

  • QuickConnect is a small, powerful, modular, simple to use, application development library available for many languages. The QuickConnect library is currently available for: iPhone Java J2EE PHP Erlang Yaws AJAX and Flash.
  • Welcome to Ride the City, a website that helps you find the safest bike route between any two points in New York City.

    The concept is pretty simple. Just like MapQuest, Google, Microsoft, and other mapping programs, Ride the City finds the shortest distance between two points. But there are two major differences. First, RTC excludes roads that aren't meant for biking, like the BQE and the Queens Midtown tunnel. Second, RTC tries to locate routes that maximize the use of bike lanes and greenways.

Published
Categorized as Awareness

Wednesday Panel: Web2.0 Activist Model Case Studies

This Wednesday I’m speaking at what will be a very interesting event in Williamsburg hosted and organized by the fine folks at The Change You Want To See Gallery. Deanna Zandt, Nancy Scola and I will be discussing our personal experiences and insights gained through our work with applying new technology to a variety of causes and movements in 2008.

Hope to see you there!

Over the past two years, Web 2.0 technologies have matured and so have the methods activists use to employ them. In 2008, activists from around the world used Web 2.0 to take command of the digital airwaves pioneering new forms of political mobilization. From Student’s for a Free Tibet’s live streamed protests in Beijing, to RNC protesters coordinating actions and monitoring police movements on Twitter to mass digital mobilizations for humanitarian relief and election protection, Web 2.0 is no longer just for social networking and fundraising.

Wednesday, December 17, 7:30pm
The Change You Want To See Gallery
http://www.thechangeyouwanttosee.org
84 Havemeyer Street, at Metropolitan Ave
Brooklyn, NY 11211