Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>SVG support under Android is complicated. I was looking into this recently, and found that Android versions &lt; 3.0 do not support SVG in the default WebKit: <a href="http://code.google.com/p/android/issues/detail?id=1376" rel="nofollow noreferrer">Android Issue 1376</a>, <a href="http://code.google.com/p/android/issues/detail?id=4695" rel="nofollow noreferrer">Android Issue 4695</a></p> <p>This means any library (e.g. Raphael) based on SVG won't work in the default Android browser. It seems it will be available in 3.0+, based on the second link above (Issue 4695).</p> <p><a href="https://stackoverflow.com/questions/5538870/raphaeljs-library-and-smartphones">Opera and Firefox for Android do support SVG</a>, so that's something you could investigate if it's acceptable to require your Android users to download a browser.</p> <p>If you are going to package and distribute via PhoneGap, maybe it's possible to build in a WebKit with SVG support there - that's <em>really</em> venturing outside my familiar territory, but <a href="http://jindroid.com/2010/02/15/svg-support-on-android-webkit/" rel="nofollow noreferrer">http://jindroid.com/2010/02/15/svg-support-on-android-webkit/</a> might be a starting point.</p> <p>I'm looking into <a href="http://dojotoolkit.org/documentation/tutorials/1.6/gfx/" rel="nofollow noreferrer">Dojo's dojox.gfx</a> which provides an abstraction across SVG, VML, Silverlight, and Canvas. Canvas <em>is</em> supported by released versions of Android WebKit.</p> <p>Disclaimer: I haven't tried any of this on any Android emulator or devices yet, just wanted to share what I've read in hopes you don't get too far down an unsupported road :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload