I have a native app with WebView where I load 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 javascripts on pages, I then load view.loadUrl("javascript:" + myJavaScriptFile)
into onPageStarted
event of
my subclass of WebViewClient
.
That way every time an html is loaded at startup I already load my javascripts.
Summarizing the prose I basically have the Reader.
Everything is working in versions 4.x while my sdkTargetVersion = 14
.
But when I put sdkTargetVersion = 19
(kitkat) all the
my javascripts.
I already did everything that was in this link Migrating to WebView in Android 4.4
Does anyone have an idea to help me?