O'Reilly logo

Android Development Tools for Eclipse by Sanjay Shah, Khirulnizam Abd Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding HTML to WebView

Create an HTML page using your favorite web editor, or you may just reuse the HTML page in the resources provided (in the assets folder, file name info.html). The HTML page, as shown in the following screenshot, is a simple HTML page that contains the app information. If you find that the HTML is too simple, do add your own information. In this exercise, we will put the HTML pages and the resources inside the assets folder, hence before proceeding, copy all the related materials of the HTML page into the assets folder.

Adding HTML to WebView

The HTML page in info.html

Next is to edit the source code for Info.java that resides in the folder src/net.kerul.simplenumb3r5 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required