Skip to content
Patrick Gidich edited this page Apr 8, 2014 · 4 revisions

cordova.js

This project uses a desktop cordova.js equivalent] library to allow simulated calls to the cordova API to work within the browser. As of writing, other more promising alternatives (ripple emulator) did not appear solid enough.

getting started

Cordova: Follow the instructions to get cordova up and running on your computer here (if on a PC)

Backbone: Follow the instructions in the section Prerequesites on this page. (starting at #3)

development process

I use sublime text for editing and work within the /src directory, once i'm done editing i run "grunt" from a command prompt in the /src directory which compiles output in /src/dist folder. I test using chrome from a website mounted in this directory and once that looks good move the content to /src/cordova/www directory, then use cordova cli to test on anrdoid (both emulator and device) by using "cordova emulate android" and "cordova run anroid" respectively.

Clone this wiki locally