We have created a HTML5 + Javascript application and would like to port it to Android. We already know WebKit is not capable to run the HTML5 app because
Heterogenous Android codebase supports the latest HTML5 feats badly
We use WebGL
Complex HTML5 user interface is too slow to be rendered on Android WebKit
However our core application logic still resides in Javascript.
Now are are looking for ways to
Run the application logic directly ported (copied) Javascript
bind itself to Android Java UI API easily
Build native Android UI around this Javascript logic
Create WebGL compatible bindings for Android OpenGL ES and access graphics API from Javascript
Hopefully JIT or decent performance
What options we have for custom JS runtimes on Android? I know Firefox Aurora does this already; Firefox is largerly JS based app and now they switched from XUL to native Android UI in Aurora builds.
The resulting application must be production quality and subject to Android Market distribution.