Embarrasingly I have figured out one webview error, the zoom part, which turned out to be my fault as using the webview on a tabbed screen I forgot to adjust the webview height and when I adjusted it the zoom buttons were visible.
But the default html page only ever displays once and after that shows as a white blank page unless the apk is reinstalled, it appears to be a bug but I will explain in more detail in case it is not.
The page I load into the webview is called default.html and is included with the apk when it is installed (as an asset). If I put the apk on my phone then the first time I run the app after installing it the default page is shown fine in the webview.
However if the app is in the background and I bring it to the front again to use it then the page has vanished and been replaced with a white area, the same thing happens if I quit the app and run the app again later.
In other words the code
WebView1_netsearch.LoadUrl("file:///android_asset/default.html")
Only displays the page once, and that is on the first run after installation. Any time after this and it is just a blank white page. The html page is a very very basic page with just a few lines of text and a link to google as shown here....
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="PageCreate">
<title>Is it safe?</title>
</head>
<body bgcolor="#99CCFF" background=""><font face="Arial" size="2">If you ask me to search the internet for any ingredient I cannot find listed as harmful in my database the resulting web page will be shown here.<br>
If you would like to browse the internet for any reason in the mean time you can do so without the need to open a web browser by clicking
<a href="http://m.google.com">here</a>.</font></body></html>
The same thing happens if I just have a tabbed screen with a webview call this page so it doesn't appear app related, and I have no other code that calls internet pages or makes internet calls in the app so cannot understand why it is doing this.
I have found it will display the page fine if I use the home button to dismiss the app from the screen, but not if I use the back button. This also happens using the app.
However even then the white screen is still displayed next time the app is run.
Any ideas anyone. Please?
Dave