Reputation: 474
I need to keep a WebView open in the background of my Android app so that I can move between pages and execute javascript. I need to be able to change activities without affecting the WebView. Occasionally I will bring it to the front but otherwise I need to maintain the same session without ever showing it. What's the best way to do this?
Upvotes: 2
Views: 1085
Reputation: 1282
I'd suggest using an activity that have your web view and show your screens as fragments
Upvotes: 1