Webview embedding we can do this basically
public class CordovaViewTestActivity extends Activity implements CordovaInterface { CordovaWebView cwv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); cwv = (CordovaWebView) findViewById(R.id.tutorialView); cwv.loadUrl("file:///android_asset/www/index.html"); }
If you still get the error, listen to your code along with logcat output. It is easy to solve.
source share