1. Get the Apollo Runtime Alpha build and install it
(reg required) http://labs.adobe.com/downloads/apolloruntime.html
(O/S support) http://labs.adobe.com/wiki/index.php/Apollo:developerfaq#What_platforms_does_Apollo_1.0_target.3F
2. Once the runtime is installed, download this file:
http://spindle.sf.net/GwtMail.air
3. open the file you just downloaded, follow the prompts, and enjoy!
Geoff
PS. Yes I know the sample does not hit the network or use any Apollo
ActionScript stuff (this is a first shot at it a few hours after
gettting started!
Here are the only changes I had to make to get the Mail sample working
in Apollo. All the GWT build steps remain unchanged.
These changes are strictly cosmetic and are needed because the WebKit
impl in the Apollo alpha needs some work.
1. Mail.css change the font size for the body tag from 'small' to
16px. For some reason fornt size chosen by Apollo's WebKit is really
too small to be useable. Definitely smaller than those chosen by IE or
FF.
This fixes the font issue.
The remaining issue is that the Mail UI does not resize along with the
window. The reason is that Apollo's has a bug as described here:
To make Apollo and all browsers happy you have to ensure that
dimensions passed to widget setHeight and setWidth methods include
"px" explicitly.
The affected classes and methods are:
Mail#onWindowResized
and
MailDetail#adjustSize
That done, it is really simple to package up the sample and run it as
an Apollo dekstop app
most of the steps in the above page can be skipped as compiling the
GWT app creates the app, you just have to add an Apollo xml file and
launch it.
Geoff
On Mar 20, 2:05 pm, "glongman" <glong...@gmail.com> wrote:
> No time yet to write this up but it was a) not hard to do b) did
> require some tweaks in the sample java code (and the css file) to get
> around a bug in theApollo'sembedded WebKit build.
>
> 1. Get theApolloRuntime Alpha build and install it
>
> (reg required)http://labs.adobe.com/downloads/apolloruntime.html
>
> (O/S support)http://labs.adobe.com/wiki/index.php/Apollo:developerfaq#What_platfor...
Very interesting; from now on, those who bounce in here
misunderstanding what GWT is and asking about reading local files and
the like, we know what to say!
On Mar 20, 9:05 pm, "glongman" <glong...@gmail.com> wrote:
> No time yet to write this up but it was a) not hard to do b) did
> require some tweaks in the sample java code (and the css file) to get
> around a bug in the Apollo's embedded WebKit build.
>
> 1. Get the Apollo Runtime Alpha build and install it
>
> (reg required)http://labs.adobe.com/downloads/apolloruntime.html
>
> (O/S support)http://labs.adobe.com/wiki/index.php/Apollo:developerfaq#What_platfor...
>
The Mail sample basically demonstrates that none of the funky (but
cool) GWT client side architecture precludes it's use in Apollo.
Geoff
On Mar 30, 4:12 pm, "Reinier Zwitserloot" <reini...@gmail.com> wrote:
> Checking if GWT can be integrated intoApollowas on my todolist. My
> thanks for reporting your findings.
>
> Very interesting; from now on, those who bounce in here
> misunderstanding what GWT is and asking about reading local files and
> the like, we know what to say!
>
> On Mar 20, 9:05 pm, "glongman" <glong...@gmail.com> wrote:
>
> > No time yet to write this up but it was a) not hard to do b) did
> > require some tweaks in the sample java code (and the css file) to get
> > around a bug in theApollo'sembedded WebKit build.
>
> > 1. Get theApolloRuntime Alpha build and install it