plugin
hogeはJavaだとどうやって取得できるのか インスタンス化されているのほぼ間違いない
cordova.exec のJava側の対応の実装が分かれば、いけそう
CordovaPlugin
CordovaInterface this.cordova
/** * Called when a message is sent to plugin. * * @param id The message id * @param data The message data * @return Object or null */ public Object onMessage(String id, Object data);
CordovaWebView this.webView
proc = plugin.execute("methodname",args,block)
cordova.getActivity()
appView.getPluginManager()
appView = makeWebView(); createViews();
WebViewとViewの関係は?
android.webkit.WebChromeClient.CustomViewCallback
CordovaWebView app;
CordovaPlugin plugin = getPlugin(service);