Tech Stuff: A decent SVG library for Android…

CoboltForge Berlin  -  Feb 13, 2013  -  No Comments

In case you were looking for a feature-complete yet simple enough library to render SVG images in your app, you most probably ended up with http://code.google.com/p/svg-android/.

This (as most of its forks on github), has a quite subtle but nasty bug related to its XML parser, the Android SAXParser. This ended up hard-crashing in its native JNI part on some devices – that’s right, SIGSEGV, no nicee ‘sorry-your-app-has-crashed’ dialog, just your app vanishing into the void.

Long story put short, our advice is to use https://github.com/applantation/svg-android, which uses another XML parser and has some additional fixes as well…

Leave a Comment

Your email address will not be published. Required fields are marked *

*