I want to “transfer” local resources to a page, loaded from remote server.
I want to do somthing like this:
webView.loadUrl('http://my.server.com/page.html');
webView.loadUrl('javascript:function someLong(){}function codeHere(){}....');
This is for saving a bandwidth and reduce loading time.
As i see, assets files can’t be loaded from remote web page…
Looks like there is no limit or it is very large. I’ve done some tests with simple code
First line: define a function, second line – prepare long string, third one – call defined function with very long string argument.
It works perfectly. As a result i seeing JS alert saying: “80002 …xx”