running swt using native widgets on iphone/ipad with rap

15
Running SWT using native Widgets on iPhone/iPad with RAP Jochen Krause, EclipseSource Walldorf demoCamp May 25, 2011

Upload: sjkiwai

Post on 21-May-2015

1.550 views

Category:

Technology


1 download

DESCRIPTION

This is a demo of a proof of concept for running Eclipse SWT on an iPhone/iPad with RAP (Rich Ajax Platform.) It was presented at the Eclipse Demo Camp in Walldorf, May 2011.

TRANSCRIPT

Page 1: Running SWT using native Widgets on iPhone/iPad with RAP

Running SWT using native Widgets on iPhone/iPad with RAP

Jochen Krause, EclipseSource

Walldorf demoCampMay 25, 2011

Page 2: Running SWT using native Widgets on iPhone/iPad with RAP

Disclaimer: this is a proof of concept

Page 3: Running SWT using native Widgets on iPhone/iPad with RAP

RAP and mobile are a good fit

Page 4: Running SWT using native Widgets on iPhone/iPad with RAP

Employs native widgets programmed with SWT API

Page 5: Running SWT using native Widgets on iPhone/iPad with RAP

Conventional SWT API at work

Page 6: Running SWT using native Widgets on iPhone/iPad with RAP

This is how we represent an SWT tree widget

Page 7: Running SWT using native Widgets on iPhone/iPad with RAP

Navigation as you know it on your phone

Page 8: Running SWT using native Widgets on iPhone/iPad with RAP

Go up one level using the toolbar, down by touching an element

Page 9: Running SWT using native Widgets on iPhone/iPad with RAP

And, here is the code

Page 10: Running SWT using native Widgets on iPhone/iPad with RAP

SWT Buttons, Labels and Layouts: RAP calculator example on the iPad

Page 11: Running SWT using native Widgets on iPhone/iPad with RAP

How does it work?

The RAP server sends protocol messages to the client, e.g. about constructing a “Shell”

Page 12: Running SWT using native Widgets on iPhone/iPad with RAP

Objective C code processes the messages and constructs a UIView as our shell. Even includes a nice animation.

Page 13: Running SWT using native Widgets on iPhone/iPad with RAP

Processing is happening on the server, only UI updates are sent to the client

Page 14: Running SWT using native Widgets on iPhone/iPad with RAP

Given low latency networks, user experience matches native apps

Page 15: Running SWT using native Widgets on iPhone/iPad with RAP

To learn more, please contact us:

[email protected]

Thank you!