Your SlideShare is downloading. ×
0
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Do it with LWUIT
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Do it with LWUIT

3,953

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,953
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
82
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Do It with LWUIT! Terrence Barr Senior Technologist and Community Ambassador Java Mobile & Embedded Community Sun Microsystems
  • 2. Agenda • Java Mobile & Embedded Community • What is LWUIT? • Motivation • Key Benefits • Key Features • Demo • Designer Tool • What happened since launch
  • 3. Java Mobile & Embedded Community www.mobileandembedded.org Java Mobile & Embedded Community Growth 350,000 250 Activity • Hub for blogs, industry Projects 300,000 news, and resources 200 250,000 Projects in Community Cumulative Activity • More than 20,000 200,000 150 activities/month 150,000 100 • Home of phoneME, 100,000 LWUIT, and 200 other 50 community projects 50,000 0 0 11/06 06/08 08/08 01/09 Month Vibrant community with deep mobile and embedded Java expertise
  • 4. At a Glance
  • 5. What is LWUIT? • Advanced, lightweight UI library • Compelling UI • Consistent across different devices • For today's handsets (and more ...) • Portable > MIDP, CDC, SE, TV ... • Inspired by Swing • Tools support • Open source: GPLv2 + classpath exception
  • 6. Motivation • Complex UI requirements on existing devices • Too much fragmentation > Is WORA even possible? • Strong market need for compelling UI library • High portability > No Java library that spans across mobile & TV (CDC & CLDC) • Streamlines operations between graphic designer and content developers
  • 7. Key Benefits • Rapid development > Familiar API > Clean & Simple • Easy deployment > One JAR – many devices • Mass market devices • Consistent + Extendable • Filthy Rich UI • Brand-able
  • 8. Key Features • Swing-like MVC • Layouts • PLAF & themes • Fonts • Rich widgets • Painters • Animations & transitions • 3D, SVG integration • Touch screen support • I18N/L10N support • ... more
  • 9. Transitions • Ready Made common transitions > Slide, Fade > 3D transitions – Cube , Rotate, Fly in • Extendable • Applicable for > Forms > Dialogs > Menu > Components
  • 10. Touch Screen Support • All widgets supports touch screen events • Drag and drop support, including flow rearrange on drop with live feedback • Gesture scrolling (“iPhone effect”) • Physics engine for fluid motion • Glass pane & z-ordered components for component dragging • Implicit support for touch screen devices, same application for touch & feature phones
  • 11. Demo
  • 12. Example: List Renderer & Model Form form = new Form(“List”); form.setLayout(new BorderLayout()); List list = new List(new String[] { “Item 1”, “Item 2”, “Item 3”, “Item 4” }); list.setListCellRenderer(new MyRenderer()); form.addComponent(BorderLayout.CENTER, list); form.addCommand(exitCommand); form.show();
  • 13. Approach
  • 14. Designer Tool (“Resource Editor”) • Built for designers > De-couples designer and developer's environment • Standalone application • Resources: > Themes > Fonts > Animations/Images > Localization • Live preview
  • 15. Performance & Portability • Tested on numerous mobile devices > Nokia s40 + s60, Sony Ericsson, Motorola, LG, Samsung, Sprint, ... • Tested on Sigma designs STB with Java Media Client • Designed for small size/overhead • Most overhead is in resources (application-specific!) • Indexed Image & light mode for low end • Doesn't require preprocessor!
  • 16. Footprint • Jar size as low as 80-90kb for a small application • Memory depends on > Theme/functionality/resolution • Example > UI Demo runs on 320x240x24bpp Nokia S40 using under 1 MB and no more than 2 MB • Themes can be light or heavy depending on their features
  • 17. What happened since launch • Very well received by the community • LWUIT on java.net > On the Top 5 projects list by email traffic! > Over 70000 forum views > 3rd party developers contributing • Internet buzz > Over 40000 results in google > Blogs, articles and more (“Do It with LWUIT!”) • Half-day LWUIT tutorial at M3DD (Jan 2009) > Materials available (slides, audio, exercises)
  • 18. What happened since launch (2) • Adoption in Tools > Sprint WTK 2.2 > Java ME SDK 3.0 • LWUIT applications rapidly developed! > Comverse VVM, Nuux, Emoze email, Telmap, CTIA conference app, more .. • Adopted in the SBTVD Java DTV open spec > http://java.sun.com/javame/technology/javatv/index.jsp
  • 19. For More Information ... • Java Mobile & Embedded Community > http://www.mobileandembedded.org • LWUIT project page > http://lwuit.dev.java.net/ > Downloads, developers guide, tutorials, videos > Very active forum & mailing list > Device database • Feedback lwuit@sun.com • Shai's blog http://lwuit.blogspot.com/ > Tips & tricks, examples, technical info
  • 20. Thank You! (Q&A)
  • 21. Do It with LWUIT! Terrence Barr Senior Technologist and Community Ambassador Java Mobile & Embedded Community Sun Microsystems

×