Android Hybrid Demo
WARNING: There is a known bug in the emulator that causes apps to crash when a native method is called from inside the DOM. Please test on a real device.
This projects is a simple prototype to show how to communicate between Android and
The key parts are
window that binds it to the given object.
So calling this method in an Android app:
Will provide access to the instance
anObject via the variable
hybrid_interface like so: