- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Convert HTML5 into standalone Android App
Steps
Follow the below-given steps to convert HTML5 into standalone Android App
-
You need to first create an Android app using Eclipse.
Move HTML code to /assets folder −
The Assets provide a way to include arbitrary files such as text, XML, music, fonts, and video in your application.-
Load web view with the file − android_asset/ file
- enable javascript
Layout for WebView
While creating a layout for WebView −
WebVieww = new WebView(this); w.loadUrl("http://www.app.com/");
Advertisements
To Continue Learning Please Login
Login with Google