In a native Android App, I have various Products. Every product has related descriptive product information in html files (index.html, images, detail pages, javascript).
When a product is selected, i want to show the related html content in a WebView. I do not want to permanently embed HTML files in the app itself.
Approach: I am planning to download the Product HTML bundles(zip?) on demand. So if you select Product X, then its HTML zip will be downloaded and used.
- To download or not?
The reason to download the HTML files, is that they will render faster from local directory, but i am open to render it directly from a server, if that can be fast enough too.
(I also want to protect the HTML files, so that no one else can point to them except my app itself)
Download location
Which is the best location to download these HTML zip content, and unzip there?How can i show HTML files from local dir?
Is there a better approach?