Skip to content

Latest commit

 

History

History

Cordova

Art Mobilis - Prototype ionic/angularjs/openstreetmap/ar

##Quick launch From the Cordova folder, execute ionic serve into a console. If you don't how to do a quick launch, read later in the page.

##Project files

  • Visual Studio 2013 : Cordova/www/ArtMobilis.sln
  • Visual Studio 2015 : Cordova/ArtMobilis2015.sln

Capture Capture Capture

##Before you can run or devellop

###Windows 7 /8 / 10

Install following software

Install ionic for cordova :

npm install -g cordova ionic

###Linux

####Install Node.js See : https://github.com/nodejs/node-v0.x-archive/wiki/Installing-Node.js-via-package-manager

####Install ionic for cordova :

sudo npm install -g cordova ionic

####Before starting you need to manually link node to nodejs

sudo ln -s /usr/bin/nodejs /usr/bin/node

Now you can run and dev for ArtMobilis .... let's test if everything is allright

##Check your dev' setup

Check if ionic is well installed

ionic start ProjectName sidemenu

nota: you can test another model : sidemenu , tabs , blank

cd ProjectName

ionic serve

###Add Android platform

ionic platform add android
ionic build android
ionic run android

###Add Play store platform

ionic build android --release
Voir http://developer.android.com/tools/publishing/app-signing.html
keytool -genkey -v -keystore artmobilis.keystore -alias artmobilis -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore artmobilis.keystore artmobilis-unaligned.apk artmobilis
jarsigner -verify -verbose -certs artmobilis-unaligned.apk
// zipalign dans C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1
zipalign -v 4 artmobilis-unaligned.apk artmobilis.apk