0

I have a webapp with some quite heavy images and they took a while to load

Is possible to save images from a website to an android device and then load them in a webview?

Thanks

leojg
  • 1,156
  • 3
  • 16
  • 40

1 Answers1

1

Is it possible to save images from a website to an android device?

Yes, using file I/O or a sqllitedb-databae

then load them in a webview?

This can be achieved with following method:

  • public void loadData (String data, String mimeType, String encoding)

An example how to display an image using loadData:

Hope this helps, if not comment below

Community
  • 1
  • 1
Tobrun
  • 18,291
  • 10
  • 66
  • 81