- install nodejs, gulp, cordova & ionic (if not already done)
git clone [email protected]:Jumboweb/ionic-starter.git
: clone this repocd ionic-starter
: go to folderbower install
: install app dependenciesnpm install gulp
: install build dependenciesionic setup sass
: use sassionic serve
: start the app on your browser
As it's only a template project, you may want to change its name. For that, you just have to open :
config.xml
(widget id, name, description & author)www/index.html
(title)bower.json
(name, homepage, author & description)package.json
(name & description)
- Chrome cordova : https://chrome.google.com/webstore/detail/cordova-mocks/iigcccneenmnplhhfhaeahiofeeeifpn (https://github.com/pbernasconi/chrome-cordova)
- android remote debug : https://developer.chrome.com/devtools/docs/remote-debugging
- activate developer mode on android
Use these custom urls to open other apps using inappbrowser (org.apache.cordova.inappbrowser)
- "tel:0123456789" => call this number
- "sms:0123456789?body=coucou" => send sms to this number
- "geo:lat,lon" => open google map to this geoloc
- "mailto:[email protected]" => send an email
- "market:???"