Hi,
I think the error occurs when you switch apps (close browser or switch back to DS).
AFAIK a button click doesn't need a value returned, but this doesn't fix it either
<button onclick="openbrowser()">
Removing <script src='file:///android_asset/app.js'></script> and changing to <body>
seems to fix it, so I presume something in :///android_asset/app.js is responsible
Needs some-one technical to look at that (I'm not very au fait with html apps and app.js).
If you create a Native app, put your html in a file, then read it and open a webview with option IgnoreErrors
then when you click the button it goes to w3schools, and when you go back it goes back to your page.
Typing this in here, so there may be typos.
wv = app.AddWebView(lay,1,1,"IgnoreErrors") ;
html = app.ReadFile("html.html") ;
wv.LoadHtml(html) ;