is there a way to call native java code from a webview in Android other than using addJavascriptInterface? -
there bug gingerbread distribution , addjavascriptinterface method described here: http://code.google.com/p/android/issues/detail?id=12987
although there workarounds issue this:
http://www.jasonshah.com/handling-android-2-3-webviews-broken-addjavascriptinterface/
or this: http://twigstechtips.blogspot.com/2013/09/android-webviewaddjavascriptinterface.html
all of them partial-fixes holes in them.
so wonder if there way avoid addjavascriptinterface method invoke native code html within webview.
thanks in advance!
i hope , trust there no way phone call native code expect addjavascriptinterface(), because big security-exploit in android. nobody should able phone call native code browser - cause many different abuses.
android android-webview
No comments:
Post a Comment