I have a WebView that contains a html file that contains a Flash plugin (a video).
When the user presses play on the Flash plugin, the video plays fine.
However when the user closes the app or moves to a new Activity, the Flash is still playing in the background. Going back to the view appears to create a new thread with the Flash plugin running on it.
How can we stop the Flash plugin running onPause?
Thanks
super.onDestroy()
as last method in youronDestroy()
(it's opposite in "building" calls likeonCreate()
etc where you have to call super class as soon as possible. Not to mention I would rather call that earlier, inonPause()
oronStop()
– Apprehension