Question

can i embed webpages in my app?

I need to view certain webpages of my company that is save to the app.

My app needs to access certain webpages in my company

Was it helpful?

Solution

Sure. Just add a WebView to your layout and have it load the html from a file locally (either on disk or in assets). This is assuming you don't want to download updates- if you do you need to cache the files locally then load them in the WebView.

OTHER TIPS

One possible solution is to use a Service to download the pages when a connection is detected and cache them as local files on the device.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top