3
I have a native app with Webview where I upload a set of pages with a ViewPager
.
For each Page I create an instance with Webview loading an html via loadDataWithBaseURL
.
As I depend on some Avascripts on the pages, I load like this view.loadUrl("javascript:" + myJavaScriptFile)
at the event onPageStarted
of
my subclass of WebViewClient
.
That way every time an html is loaded at the beginning I already load my Avascripts.
Summing up the prose I have basically the Reader.
Everything is working in versions 4.x while mine sdkTargetVersion = 14
.
But when did I put sdkTargetVersion = 19
(Kitkat) stopped working all
my crypts.
I’ve done everything on this link Migrating to Webview in Android 4.4
Does anyone have any ideas to help me?
Thank you very much, even already using the form of our colleague Eduardo, this your scheme works very well and elegant!! Vlw..
– JamesMartins