title: How to keep webview running in foreground service after pressing home button in android?
body: <p>I am loading an url in webview which plays some audio song. When user presses the home button, then the audio stops after some time(Probably because activity is going in stopped state). </p>
  
  <p>Well, I think service might solve my problem. But How can I keep the song playing i.e Webview in foreground and show it on notification bar in service.</p>
  
  <p>Edit:-
   I don't want to load the URL again because doing that will again go to home page of the website.
   I think this can be done using foreground Service. But I am not getting how can I save the state of the webview and keep it running from that state using foreground Service.</p>