Tuesday, July 8, 2014

How to Build an HTML Based Android App



1. Create a new HTML document by opening a text or HTML editor, then go to the 'File' menu and click the 'New' option.

2. Add the following lines of code to the top of the HTML document:



3. Replace the 'title' value in the first 'meta' tag with the title of your Android app. The second 'meta' tag lets the Android device know to only scale the content of the HTML page to only the width of the device.

4. Insert your HTML content, which may include text, icons, pictures, videos or audio clips, below the '

' tag. When done, close the section by inserting the following lines of code:

5. Save your document and upload it to a website hosting server. Visit that uploaded HTML page by going directly to it with the Android device's built-in browser. You may need to make a few tweaks before publicly releasing it on your site.

No comments:

Post a Comment