Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show static HTML page in android emulator?

Tags:

android

I want to display one static HTML page in my android emulator.

like image 588
Rajapandian Avatar asked Dec 01 '22 06:12

Rajapandian


1 Answers

an easier way is described at Android HTML resource with references to other resources. Its working fine for me.

Put the HTML file in the "assets" folder in root, load it using:

webView.loadUrl("file:///android_asset/filename.html"); 
like image 111
Nimesh Madhavan Avatar answered Dec 05 '22 10:12

Nimesh Madhavan