[maemo-developers] Maemo at Google's Summer of Code 2007?

From: Johannes Eickhold jeickhold at gmx.de
Date: Sat Feb 17 03:35:55 EET 2007
On Fri, 2007-02-16 at 16:22 +0100, Clemens Eisserer wrote:
> >  Thanks I was not aware that only this is missing, but I would like  to
> > recheck if something else is needed in order to have a Sun's based code
> > on the platform.
> Well I am not 100% sure in this, but its my conclusion from what I've
> seen so far :-)

Clemens is pretty right on this. Sun's GPL'ed CDC implementation is
available under project "Java phoneME advanced". As I mentioned
previously [0] on this list, this has already been compiled for the 770.
A real port isn't required because SUN's code already contains
fundamental build structure for the Linux/ARM platform.

The virtual machine (VM) that comes with the "phoneME advanced" project
is especially suited for resource limited devices like the Nokia
internet tablets as it has a small memory footprint. The API that comes
with "phoneME advanced" depends on build options. One can choose between
different profiles. Currently available builds for the 770 contain at
max. Foundation Profile (FP). This profile doesn't contain any GUI
related functionality.

To get an idea of the differences in the API between the different
profiles available for CDC, find an overview under [1]. The most recent
version of "phoneME advanced" is release MR2. MR2 implements CDC 1.1.2.

To get some GUI working, Personal Profile (PF) has to be build which
contains code for a peer based AWT implementation which uses GTK.
Unfortunately this code is currently not working because of internal API
version problems. For a more detailed discussion have a look at [2]
(look at the answers of some of the helpful SUN employees to questions I
asked there). Further implementation details on GUI frameworks for Java
and some nice comparison can be found in chapter 3.1 of [3].

Another problem for integrating Java with hildon comes from the fact
that AWT abstracts from widget sets to a great extend. I suppose that
using SWT instead of AWT for GUI related stuff, would give developers
more control over GUIs especially suited for maemo. Maybe SWT can
already be build on the basis of the available FP. Hildonization of SWT
would then remain as a TODO.

Another missing part for proper Java integration is API to use Gnome
libraries. These are available in the Java Gnome project [4].

Greets,
Jonek.

[0] http://www.gossamer-threads.com/lists/maemo/developers/17802?#17802
[1] http://java.sun.com/products/cdc/reference/cdc_packages.pdf
[2] http://forums.java.net/jive/thread.jspa?threadID=21591
[3] http://www.inf.uos.de/elmar/projects/java-gtk/thread-ui.pdf
[4] http://java-gnome.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070217/c3ae3250/attachment.pgp 
More information about the maemo-developers mailing list