Re: Using SVG in J2ME

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <4042935.433471186658311464.JavaMail.tomcat@sdcst12.sjc.collab.net>
Hi,

If you're just starting with Jva ME I'd definitely recommend sticking with the standard widget set and UI model (javax.lcdui).

However, SVG is quickly becoming an interesting alternative for creating cool looking UIs and graphics on mobile devices. JSR 226 is becoming available on many new devices and it is a key component of MSA (JSR 248).

You're right that the current version of SVG Tiny and therefore JSR 226 don't support certain widgets like TextField out of the box. You will need to add code to your application to  add this functionality to an SVG element.

The good news is that we are working on making some of the basic widgets available in open source. I have no date when these will be ready but it will happen fairly soon.

In the meantime, if you want to get a feel for SVG I recommend you check out the SVGDemo and SVGContactList code in our ME Application Developers project:

https://meapplicationdevelopers.dev.java.net/demo_box.html

For a general introduction in SVG and JSR 226 see:

https://meapplicationdevelopers.dev.java.net/phoneme_ui_labs.html

Hope this helps,

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org
[Message sent by forum member 'terrencebarr' (terrencebarr)]

http://forums.java.net/jive/thread.jspa?messageID=230223

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.