Android SVG support, current status

Does Android support SVG (natively)?

I found old answers here or on the Internet, but I do not understand the current situation.

Please give a link if possible.

+8
android browser svg
source share
2 answers

Does Android support SVG (natively)?

It depends on what you mean by “Android,” “SVG,” and “natively.”

Android is a mobile operating system. It has several versions.

SVG is the standard. It has several versions.

“Naturally” can mean anything: “I can decode SVG through some Java classes” so that “the Android web browser can display SVG.”

I can tell you that the Android-based Android browser displays this web page perfectly on Android 3.2 and Android 4.0, but it does not work on Android 2.3.

I can tell you that there is no set of SVG parsers for Java classes, and that ImageView and similar widgets are not able to work directly with SVG. You can use WebView to display some SVG , given that the browser seems to support it on newer versions of Android, although it is possible that SVG is supported through some plugin that is not automatically available for WebView .

I can’t say which version of SVG is supported by the browser, as this does not seem to be documented. You will need to run some tests and see if it supports the specific SVG structures that you want to use.

+15
source share

http://caniuse.com/#search=svg The Android browser column displays the version for Android, the default browser of which will have SVG support. All versions 3.0 and higher have basic SVG support.

You can see a comprehensive extended functional breakdown on the same page.

+7
source share

All Articles