List of usage examples for org.apache.cordova DroidGap init
protected void init()
From source file:com.changeit.wmpolyfill.PhonegapWebClient.java
License:Apache License
/** * @param cordova// ww w . ja v a 2 s . com * @param view */ public PhonegapWebClient(DroidGap cordova, WebView view) { super(cordova); if (view == null) { view = new WebView(cordova); cordova.init(); // Trigger initialisation of WebView and other dependent objects } wmp = new WebClient(view); view.setWebViewClient(this); }