/** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); Keyboard keyboard = new Keyboard(this, appView); appView.addJavascriptInterface(keyboard, "Keyboard"); // setContentView(R.layout.main); super.loadUrl("file:///android_asset/www/index.html"); }