0

Is any way to add the Html contents in to the webview through the Main Xml file.

I have a one problem.I'm new in the android field,I load the contents from the assets file and normally the webview contents visible but when i going to swipe the page ,that contents not visible only containing black page ,after swipe next page visible...

so ,anyone give me the tips how to solve this problem.

advance in Thanks...

prakash
  • 1,413
  • 1
  • 21
  • 33

2 Answers2

1

Check this..... https://developers.google.com/chrome/mobile/docs/webview/gettingstarted how to show the html contents to the webview using android

Community
  • 1
  • 1
0

I think this link can help you: Displaying Android asset files in a WebView?

However, you should give us more information. If you want to view an external URL, you will need to add permisions on the Android Manifest. If that is not your case and your content is local, maybe the problem is inside your Webpage.

Community
  • 1
  • 1
RaZieL
  • 63
  • 8