Hi, I'm using a web view to play videos, but when I navigate away from the page the audio won't stop. I have came across a few pages here, and many on StackOverflow but they weren't much help.
People at SO suggests that I should be overriding the OnPause method from my mainactivity, Tried that and it doesn't get called. So I managed to catch when the user navigates away from the page. From then I'm calling a method to clear
MyWebViews.source to null, calling GC. But the Audio won't stop.
Can anyone suggest how I can destroy the Webview? Or explain how the Android lifecycle works in accordance to Webviews?