eSWT: The new UI toolkit for the mobile java

1,711 views

Published on

This presentation introduces the eSWT to mobile application developers. This was presented in Eclipse summit 2007.

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

  • Be the first to like this

No Downloads
Views
Total views
1,711
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

eSWT: The new UI toolkit for the mobile java

  1. 1. eSWT: The new UI toolkit for the mobile java Gorkem Ercan Nokia
  2. 2. Current Mobile Java UIs <ul><li>2D & 3D Graphics support </li></ul><ul><li>MIDP Limited Capability Device User Interface API (LCDUI) </li></ul><ul><ul><li>originally designed at the time there were still black and white monochrome displays (Nokia Series 30) </li></ul></ul><ul><ul><li>No significant improvements during the past years in JCP </li></ul></ul><ul><ul><ul><li>low-end devices portability </li></ul></ul></ul><ul><li>Mobile java lacks the UI functionality of modern smart phone user interface frameworks! </li></ul>
  3. 3. Why do we have eSWT anyway? <ul><li>Open </li></ul><ul><ul><li>Open source </li></ul></ul><ul><ul><li>Licensed under Eclipse Public License (EPL) </li></ul></ul><ul><ul><li>Part of eRCP project in eclipse.org </li></ul></ul><ul><li>Capable </li></ul><ul><ul><li>Rich user interface component set </li></ul></ul><ul><ul><li>Flexible and scalable layout system via layout managers </li></ul></ul><ul><ul><li>Rich user interface events </li></ul></ul><ul><li>Integrated </li></ul><ul><ul><li>Access to native UI functionality on-par with smartphone UI frameworks </li></ul></ul><ul><ul><li>Java applications look (and behave) like native applications </li></ul></ul><ul><ul><li>Enables advanced entertainment and enterprise applications </li></ul></ul><ul><li>Familiar </li></ul><ul><ul><li>Subset of SWT </li></ul></ul><ul><ul><li>Provides familiar java UI concepts </li></ul></ul><ul><ul><li>Already available on many platforms </li></ul></ul>
  4. 4. Then… What is eSWT ? <ul><li>Provides efficient, portable access to the user interface facilities of the operating system </li></ul><ul><ul><li>Most of the &quot;real&quot; work is done by the optimized, platform-specific code </li></ul></ul><ul><li>Consists of 3 packages </li></ul><ul><ul><li>Subset of desktop SWT </li></ul></ul><ul><ul><ul><li>core package </li></ul></ul></ul><ul><ul><ul><li>expanded package </li></ul></ul></ul><ul><ul><li>New mobile specific eSWT components </li></ul></ul><ul><ul><ul><li>mobile package </li></ul></ul></ul><ul><li>Has traditional Java GUI library characteristics </li></ul><ul><ul><li>UI is constructed by widgets in containers </li></ul></ul><ul><ul><li>Containers use layout managers to scale the UI. </li></ul></ul><ul><ul><li>API is non-thread safe and there’s single UI thread </li></ul></ul><ul><ul><li>Applications must explicitly include the event dispatching loop in the entry </li></ul></ul>
  5. 5. Containers Menus & Items Environment APIs Dialogs Layouts Widgets
  6. 6. Everybody loves screenshots…
  7. 7. eSWT MIDlet Demo
  8. 8. eSWT availability <ul><li>Available form eRCP downloads for 1.1 </li></ul><ul><ul><li>WinCE 5.0 Professional </li></ul></ul><ul><ul><li>Windows Mobile 2003/5/6 </li></ul></ul><ul><ul><li>Series 80 (eSWT 1.0) </li></ul></ul><ul><li>Installed on Device </li></ul><ul><ul><li>All S60 3 rd edition FP2 devices as part of MIDP runtime </li></ul></ul><ul><ul><li>Updates will be available from eRCP downloads </li></ul></ul><ul><li>You can start developing today! </li></ul><ul><ul><li>Already available as part of the 3 rd edition FP2 MIDP SDK </li></ul></ul>
  9. 9. It is now possible to reuse UI code <ul><li>SWT </li></ul><ul><ul><li>Available for most desktop platforms </li></ul></ul><ul><li>eSWT </li></ul><ul><ul><li>Part of eRCP project </li></ul></ul><ul><li>RWT </li></ul><ul><ul><li>Part of the RAP project </li></ul></ul>
  10. 10. Demo

×