The simplest method for converting your HTML Android App

html-2-apk

The simplest method for converting your HTML app to a working Android App.

There are lot of frontend engineers want to convert their own html app to android app,but all the existing methods are too truoblesome,or some methods need you to purchase a software.

Now,do it my way,you do not have to install JDK,you do not have to install Android SDK,you do not have to install eclipse or Android Studio and PhoneGap,and you don't need to spend money.More importantly than all of that,this is easy and simple.You can complete it in 10 minutes!Now,let's begin.

Tool

First you'll need AIDE installed in your mobile phone.To be easy,it's the only tool we will use in this tutorial. Open you mobile application store,search 'AIDE',and install it.

Create new app

Modify file

Download files I had provided. git clone https://github.com/ymrdf/html-2-apk Open up /AppProjects/MyApp/app/src/main using your file browser,replace 'AndroidManifest.xml' with the file of the same name which you just download. Next ,replace /AppProjects/MyApp/app/src/main/java/com/mycompany/myapp/MainActivity.java. Next ,replace /AppProjects/MyApp/app/src/main/res/layout/main.xml. At last,copy the 'assets' folder into /AppProjects/MyApp/app/src/main.There is a sample html app in assets/www,you can replace it with your own.Only one thing to note,the html file must be 'index.html'.

Test

Now,you can see the effect. Back to AIDE,click the triangular button, click install,You should see a new app in your device like this. OK,you have successfully converted your html app to android app,and have installed it on your devices.Your '.apk' file is in /AppProjects/MyApp/app/build/bin/.

Building the APK for Release

Its time for you to deploy your Android app and get it into your users' hands. Back to AIDE,tap Menu button, tap 'project', tap 'publish project'.