Just An Application

November 9, 2008


Filed under: Android, Dalvik, Java, Java VM, Maemo, N800, Nokia — Tags: , , , , , , — Simon Lewis @ 12:32 am

It looks as though the problem with mmap() is that the filesystem doesn’t support making mmap()ed files writable which prevents Dalvik as currently implemented from optimizing its Dex file, which prevents it from starting. A workaround for this is to provide Dalvik with an optimized Dex file we prepared earlier. If you do then you get this


November 8, 2008

Dalvik Running Standalone (but not quite working) on an N800

Filed under: Android, Dalvik, Java, Java VM, Maemo, N800, Nokia — Tags: , , , , , , — Simon Lewis @ 2:52 pm

A screenshot of Dalvik running in an xterm on an N800


The error (which has scrolled off the top) seems to be a failed call to mmap()

September 18, 2007

Java Personal Profile On The N800

Filed under: Java, Mobile Java, N800, Nokia, Personal Profile — Simon Lewis @ 5:58 pm

Here are some screenshots showing my port of SUN’s implementation of Java Personal Profile running the Demo application on my Nokia N800.

Java Personal Profile On The Nokia N800: One

The Layout demo, not necessarily working correctly.

Java Personal Profile On The Nokia N800: Graphics

The Graphics demo, image support is broken

Java Personal Profile On The Nokia N800: Widgets

The Widgets demo

The version shown in the screen shots uses SUN’s original GTK based version of AWT. Unfortunately this is based on a pretty old version of GTK and relies on things that have been deprecated or just plain removed. To get it to work at all I had to comment out quite a bit of code. As such it is not really a good basis going forward so I have now started on a new version of AWT using GTK, Pango and Cairo.
This is very much a work in progress and I have not tried running it on hardware, but here is a screenshot of the same Graphics demo as above, but this time on the ’emulator’ and using Cairo to do the rendering but with no image support.

Graphics Demo On Emulator Using Cairo

Create a free website or blog at WordPress.com.

%d bloggers like this: