Use Cordova (PhoneGap) to build the Android program, cordovaphonegap
Mobile terminal development is becoming increasingly popular with the popularity of smartphones, and all projects want to be moved. However, it is not easy to learn how to use the controls of these terminals, in particular, the control and language used on each terminal are different, making this learning more difficult.
Is there a simple way to quickly build mobile terminal programs and quickly package and use them on various terminal platforms? The answer is yes, and there are still many such frameworks. This article briefly introduces how to build an android program through the Cordova (formerly called phonegap) platform.
Before the formal example, we first verify whether the environment is OK. You can simply check the java/npm version command to verify whether the environment is normal, such as java-version/npm-version.
After the above steps are OK, we can start the Cordova tour.
In the above section, we briefly introduced how to use Cordova to quickly build an android Development Project. Here is an example. We will go through a real project HR, to learn how to use jquery mobile + html5 + cordova to develop a real app.
No. I have just started to learn this stuff, so there will inevitably be write omissions in this article. You are welcome to point it out so that you can learn it together and improve it together.