I have a dynamic HTML document that contains external resources (images, css and scripts are coded inside of document). This HTML5 application is working fine within an internet browser. Is it possible to convert this HTML5 application into a standalone Android application?
Please give me step by step instructions this is my first HTML app.
I have a dynamic HTML document that contains external resources (images, css and scripts are coded inside of document). This HTML5 application is working fine within an internet browser. Is it possible to convert this HTML5 application into a standalone Android application?
Please give me step by step instructions this is my first HTML app.
Share Improve this question edited Jan 27, 2016 at 23:53 gariepy 3,6846 gold badges23 silver badges34 bronze badges asked Feb 5, 2014 at 3:12 user2388119user2388119 311 silver badge2 bronze badges3 Answers
Reset to default 2I would remend Phonegap (http://phonegap.). You simply upload your web app to their service, and you can download the Android APK.
Now, although you can simply do the above and end there, Phonegap has unique sets of APIs that will allow you do a lot of native mobile functions that a typical web app does not have access to. This includes Geolocation, Accelerometer Camera, Contacts, Database, File system, and more, all through Javascript.
Few things to keep in mind while creating a HTML app for the first time:
Make sure your website is responsive. This way, any mobile device can view the page and users wont have to zoom in to an app created for the desktop.
Clicking tends to be laggy due to the 300ms delay on a mobile browser, so use fastclick.js (https://github./ftlabs/fastclick) to remove that and make your app quicker.
In addition, if you want to create an iOS or Windows phone app along with your Android App, Ph has the option to that too.
You could use phonegap to convert your HTML5 application to a native android application http://phonegap./
You can try to develop a Google Chrome Packaged app. The new API will allow developers to create apps that run as a Chrome app, but also as a "native" app in both Android & iOS platforms.
Google provides an excellent documentation and tutorials. You can find more information here: http://developer.chrome./apps/about_apps.html