4

I am making an Android app for a web page using Android Studio, but i want the app to be able to cache the last web page that was viewed when there was internet connection so that on reopening the app, that web page would be the first page to be seen, even when the user is offline, just like the twitter app, and then on a button click the user can get updates from the web page.

halfer
  • 19,824
  • 17
  • 99
  • 186
Double_M
  • 171
  • 2
  • 15

1 Answers1

1

Have you seen the WebView.saveWebArchive() method? I think that's what you're looking for. Have a look at the following post for more info: Android WebView -> Display WebArchive

Jens Moser
  • 153
  • 7