running swt using native widgets on iphone/ipad with rap
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
Running SWT using native Widgets on iPhone/iPad with RAP
Jochen Krause, EclipseSource
Walldorf demoCampMay 25, 2011
Disclaimer: this is a proof of concept
RAP and mobile are a good fit
Employs native widgets programmed with SWT API
Conventional SWT API at work
This is how we represent an SWT tree widget
Navigation as you know it on your phone
Go up one level using the toolbar, down by touching an element
And, here is the code
SWT Buttons, Labels and Layouts: RAP calculator example on the iPad
How does it work?
The RAP server sends protocol messages to the client, e.g. about constructing a “Shell”
Objective C code processes the messages and constructs a UIView as our shell. Even includes a nice animation.
Processing is happening on the server, only UI updates are sent to the client
Given low latency networks, user experience matches native apps