-1

Can anyone tell me how to implement SVG in LWUIT application with some example code.?

oliholz
  • 7,447
  • 2
  • 43
  • 82
aadi rao
  • 1
  • 1

1 Answers1

1

This will only work for MIDP devices, before Display.init() invoke:

com.sun.lwuit.impl.midp.SVGImplementationFactory.init();

Notice that if you use SVG images in the the latest resource editor (http://lwuit.blogspot.com/p/installing-latest-and-greatest-resource.html) it will work seamlessly regardless of SVG support since LWUIT's resource editor auto-generates fallback PNG's for unsupported devices and you can specify multiple resolutions for the fallbacks.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65