I'm developing an Android app where I'm using a webview in an activity. after pressing on a button I destroy this activity to go to another one which contains unity player. How can I open a session on the webview, save the data when I navigate to the unity's activity and then get it back when I come back to the webview's activity?
Asked
Active
Viewed 4,732 times
1 Answers
0
If website is creating session, you can use this to get session and save it to Shared Preferences. Otherwise you can keep track of page changes, and use SharedPreferences to save/retrieve latest page.
-
Got it ! Thanks for your help – Apr 24 '17 at 02:56