Working on Power Schedule, I wanted to make a short help file, with some formatting. It seems there were several ways of doing this, but I chose to include an embedded HTML file into my application. It seemed easier to just edit an HTML file in an editor.
So let’s get started…first, embed an html file in the app resources. For this, create the “raw” subfolder in “res” folder and add your HTML formatted file:
use a WebView view in your layout file:
use this code in your activity onCreate() method:... (more)