Tuesday, November 22, 2011

Jainja VM

Jainja VM is a new JVM written in Java.

The VM can run on top of multiple environments : Java SE, Java ME, Android, Javascript, and even natively in a near future.

You can see Jainja in action in your browser (no Java plugin required, only a HTML5 browser): demo

Sources will be released during FOSDEM 2012.

Sunday, April 24, 2011

Android Activity

I succeeded to have a simple Activity working with pointer and keyboard events:

public class HelloAndroidActivity extends Activity {

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);               
        TextView tv = new EditText(this);
        tv.setText("This is an EditText view in an AWT Window: \n");
        setContentView(tv);
    }
   



I can't go further without the Binder IPC system. It's an important piece of software in Android because almost all the public application framework relies on it to find and use services (window manager, audio, input methods, ...)


There is a temporary hack to replace the IPC system (for the graphical part only):


The current start process is:


Monday, April 18, 2011

Android Canvas in an AWT Window

A new small step: I got the Android Canvas working (only 2D rendering for now) :