Android svg file rendering

I wrote a program in Android to set various kinds of images as a background image, but it does not work with svg files. I do not get any errors, it does not display the image, and I get a blank screen in the emulator when using svg files. Can anyone suggest how to read and display svg files in Android with some code? Or do I need to convert the xml code?

+5
source share
3 answers

Check out Batik . This is a library for creating and analyzing SVG in java. This is part of the Apache XML Graphics Project .

Update:

, Batik Android , SVG Android. . .

+4

Android 3, Webkit SVG, Android Webkit, , SVG.

, , : http://code.google.com/p/svg-android/

0

Another alternative is AndroidSVG ( http://code.google.com/p/androidsvg/ ).

0
source

All Articles