I am using html5webview in my app to display online video from various sites.
It is a good tool with nice little piece of code enables video played in a overlay. The reason I use it is for some reason, the video just does not move in standard android webview.
Everything works fine except it always crashes if I enter the webview, then click the back button without touching any part of it.
The error I got is: Fatal signal 11 (SIGSEGV), which is a memory issue that I can not debug.
Did a lot of search in google.
It turns out that if I remove the
of the WebSettings in the webview, everything goes back to normal.
I have no idea why it happens. Some explaination:
setLoadWithOverviewMode(true) loads the WebView completely zoomed out
setUseWideViewPort(true) makes the Webview have a normal viewport (such as a normal desktop browser), while when false the webview will have a viewport constrained to its own dimensions (so if the webview is 50px*50px the viewport will be the same size)