I'm having a compatibility problems opening a locally stored page on a specific named anchor in Android'd WebView. Currently I'm using simply
webView.loadUrl("file:///android_asset/page.html#fragment");
which works fine on my 4.1 device but users of other devices keep complaining about it not working.
For example on 4.0.3 Opening the page without the url fragment #fragment
part opens fine but with it user gets a "Webpage not available" error.
I've also tried opening the fragment with a two calls to the loadUrl(String)
method, first without then with fragment. Also using JavaScript to change page's location.
What more could I try?