Domanda

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

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top