Adding html file inside assets folder (Creating HTML5 Android WebApp)

Now we are ready to add our html file inside assets folder. Create a folder named assets and put your html file there. Then build the app. You will see your app is running displaying that html page.

This code is for html sample page used in this tutorial:

<!DOCTYPE html>
<html>
	<head>
		<title>LightWeight NoteTaker</title>
	</head>
	<body>
		<h1>Hello!</h1>
		<p>This is a LightWeight NoteTaker HTML5 Android app</p>
	</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *