Prerequisites:
- Download Android sdk https://developer.android.com/sdk/index.html
- Install Cordova Comannad Line Interface: http://cordova.apache.org/docs/en/3.4.0/guide_cli_index.md.html
- Edit your path variable:
PATH=/path/to/android-sdk-linux_x86/tools/:/path/to/android-sdk-linux_x86/platform-tools/:$PATH
Commands for development:
- Test in emulator:
cordova emulate android
Upload on device:
cordova run --device
See logs (device/emulator):
adb logcat
Important notice: In case of our MobileFacts app the Sensor-Library has do be advised to send the collected data directly via _sendLoggedEvents_ IOLSession.sendLoggedEvents();.
Steps to create the MobileFacts under cordova 3.4.
...