Menu

Tree [ef745a] default tip /
 History

Read Only access


File Date Author Commit
 local 2012-08-13 antonylees antonylees [2e3c03] initial commit
 .project 2012-08-13 antonylees antonylees [ef745a] initial commit
 README.txt 2012-08-13 antonylees antonylees [434c49] initial commit
 config.xml 2012-08-13 antonylees antonylees [434c49] initial commit
 cordova-2.0.0.js 2012-08-13 antonylees antonylees [434c49] initial commit
 icon.png 2012-08-13 antonylees antonylees [434c49] initial commit
 index.html 2012-08-13 antonylees antonylees [434c49] initial commit
 local.css 2012-08-13 antonylees antonylees [434c49] initial commit
 properties.js 2012-08-13 antonylees antonylees [434c49] initial commit

Read Me

To create a mobile app of your website:

1. If you want local failover (ie you want a local version of your website to be loaded if there is no network connectivity)
 - copy your website into the assets > www > local folder (currently this needs to be called index.html)
 - edit properties.js and set useInternalSite to true
2. Edit properties.js and insert the location of your website
3. Add an icon called icon.png (optional, but you'll get a default icon otherwise)
4. Edit config.xml to enter:
 - widget id (the standard is your website URL in reverse eg com.google)
 - android versionCode (an incremental number, only used for android)
 - android version (the version number of your app, only used for android)
 - name (the name of your app)
 - description (a brief description of your app)
 - author (your name or your company's name)
 - access origin (your website address)