![]() |
Re: SWT on N900/Fremantle?
Great work, thanks a lot! It works like a charm.
Jan |
Re: SWT on N900/Fremantle?
I think I'm going to enjoy writing, compiling *and* running SWT applications onboard. This is really great news for java developers and N900 owners. Thank you for your contributions, Wonko.
BTW, one of my SWT app uses the browser widget. The error I get is: Code:
java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3555 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file Code:
MOZILLA_FIVE_HOME=/opt/mozilla |
Re: SWT on N900/Fremantle?
Its nice to see this is useful :)
Quote:
As it turns out building this part of SWT is more complicated. I started to fiddle about this component the weekend. So far i got it build and was able to run a very simple test application. Though the functionality is far from being usable. E.g. scrolling does not work and links do not work either. Just the first web page opened is displayed. If you still want to have a look at the result you can get it at http://user.fh-frankfurt.de/~rc9000/...mental/swt.jar I tested the whole thing using fennec 1.0.0 from the Mozilla web site. The whole thing is run as follows: Code:
MOZILLA_FIVE_HOME=/opt/mozilla/xulrunner-1.9.2.1 java -cp .:swt.jar test.BrowserTest |
Re: SWT on N900/Fremantle?
Alright, the browser works! :)
I uploaded compiled versions to http://user.fh-frankfurt.de/~rc9000/.../experimental/ The patch can be found at http://user.fh-frankfurt.de/~rc9000/...-mozilla.patch I'll update the build instructions accordingly on the first page. |
Re: SWT on N900/Fremantle?
Are you using that Cambrige version of OpenJDK or did you manage to compile OpenJDK from Debian?
|
Re: SWT on N900/Fremantle?
Congratulations, Wonko, thanks for the good work!
Soeiro, I'm using the Cambridge OpenJDK. |
Re: SWT on N900/Fremantle?
Quote:
|
Re: SWT on N900/Fremantle?
I added two more patches and uploaded the results to the experimental directory.
Scrollable Composites now make use of the touch UI for scrolling and Tree and Table are scrollable in all directions. The patches are found at the usual location. |
Re: SWT on N900/Fremantle?
Ok,
you can now also grab SWT from the repository. Currently its only in devel but I think I'll promote it soon. SWT will be installed in /opt/maemo/usr/share/swt and a symlink will be placed to /usr/share/swt. Because SWT is a library you have to install it via "apt-get install swt-hildon". |
Re: SWT on N900/Fremantle?
Quote:
Excuse the inconvenience. |
All times are GMT. The time now is 23:20. |
vBulletin® Version 3.8.8