Created by Oscar Brito / @aetheon
13/12/2013
Install Node.js / NPM and then:
npm install -g cordova
Create a Project
cd $basedir cordova create $Project -d cd $Project # create an android project cordova platform add android -d
Project Structure
ls -l Project/ merges/ platforms/ plugins/ www/
The build process copies the files from the www/ and plugins/ directories to platform/ and configure things like cordova_plugins.js...
# Prepare files (copy) and compile cordova build -d
cordova serve => http://localhost:8000/android/www/index.html
Using Android Studio (downloaded with the SDK) import the project on platforms/android/, then compile and run it...
Oscar Brito / @aetheon