I have an image that the user drew on a canvas and i want to save that image on the server.
These lines work well on my ipad but not on my android(ver 2.3.3) browser
Unfortunately it isn't supported in your version (i think it's only supported in ICS), have a look at this issue reported
http://code.google.com/p/android/issues/detail?id=16829
There is supposed to be some sort of JavaScript implementation to add support for it, but i haven't tried it myself
http://code.google.com/p/todataurl-png-js/