Closed albertsun closed 13 years ago
Library is not broken in Android. Android is broken. It doesn’t have SVG support as a result it doesn’t work with Raphaël.
Dimitry, it is possible to add a Canvas driver like you have an SVG and VML one to add Android and old devices support for RaphealJS ?
I'd like an answer to hthetiot's question, or suggestions on how to move forward. This post seems promising, but not sure what to make of it WRT to mobile phones ...
http://googlesystem.blogspot.com/2011/02/android-honeycombs-browser-supports-svg.html
The library seems broken in Android. I at first thought my code was broken but after stripping out more and more still couldn't get anything to work.
Visiting http://raphaeljs.com/australia.html on my Motorola Droid running Android 2.2 gives me a blank page.
Visiting it with the Android emulator (running Android 1.5, it's been a long time since I've used it) gives me the following error in logcat.
D/WebCore ( 686): Console: ReferenceError: Can't find variable: Raphael line: 40 source: http://raphaeljs.com/australia.html
Others of the samples give similar errors.