Android browser plugin bridging to Dalvik/Java
C++ Java C Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


*** Dalvik Plugin for Android

Dalvikplugin creates a bridge between the Android browser and the
Dalvik VM. This makes it possible to deploy and execute hybrid Web
applications, where DOM extensions can be implemented in a VM
language (such as Java or Scala) and can be consumed by Javascript
in the browser.

Dalvikplugin is currently in alpha state. At this point, Dalvikplugin
can be deployed in the Android emulator and on rooted Android 2.x
devices. We expect Dalvikplugin to become available on non-rooted
Android 2.x devices in the near future.

*** Build the plugin

Android's Open Source codebase is needed to build the plugin. Please
follow these steps:

1. Switch to the root of the Android codebase and run the usual
commands to build:

	$ . build/

	$ lunch generic-eng

	$ make

2. Switch to subfolder 'external' and pull the Dalvikplugin source.
This will create a 'dalvikplugin' subfolder:

	$ cd external/

	$ git clone git://

3. Switch to 'dalvikplugin' and execute the command to build a local

	$ cd dalvikplugin/

	$ mm

This will create an installable Dalvikplugin archive 'DalvikPlugin.apk'
in folder 'out/target/product/generic/data/app/' (see: '').

*** Install the plugin

Method 1: use 'adb install' to install your Dalvikplugin in the
Android emulator or on a physical device.

Method 2: Put DalvikPlugin.apk on a webserver and enter it's URL
in the Android browser. A precompiled binary of Dalvikplugin can
also be installed from:

*** Create your own Dalvik 'Applets'

--- to be completed ---

*** Run Dalvik 'Applets'

Some hybrid Webapp samples can be found here: