Cordova Use HTML, CSS & JS for mobile app development, multi-platform common set of code; Free Open Source
Steps: (from Cordova website)
1. Install Cordova (Install in node. JS Environment)
Command Prompt line npm-v can see if the success of node. JS is installed
npm install-g Cordova installation Cordova
2. Create a project
Create an empty Cordova project using the command line. Navigate to the directory where you want to create the project
Example
Cordova Create MyApp com.mycompany.myteam.myapp MyApp
3. Add a platform
When you have finished creating a Cordova project, navigate to the project directory. CD MyApp
In the project directory, you need to add the platform you want to build the app Cordova Platform add Browser/cordova platform add Android
4. Run the app
Cordova Run Browser/cordova run Android
This is the result of running run browser:
Open the created project as follows:
Open it with Android Studio:
Android Studio opens as follows
Test with simulator or real machine as follows:
WebApp Development Study---Cordova environment construction