开发者

SVG implementation in LWUIT

Can anyone tell me how to implement SVG in LWUIT application 开发者_StackOverflowwith some example code.?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜