Skip to content

oturpe/barcode-agent-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barcode-agent

Barcode Agent mobile app

Developer Setup

Tools

You need at least Android SDK and Apache Cordova 3.0.10 installed. Note that Cordova is very sensitive to exact version number and may cause trouble if any other version is used. Also note that Cordova uses somewhat confusing system of version numbering. 3.0.10 is the version number of Cordova CLI tool, while API version it uses is apparently called 3.0.0. The npm command to install the right tool is:

$ sudo npm install -g [email protected]

Project setup

  1. Find android tool from your Android SDK. If you wish, you can add it to your path.
  2. Run android and install everything from Android 4.2.2 (API 17) folder.
  3. Update the Android platform to match your local Android SDK setup: android update project -p ./platforms/android.
  4. Compile the project and run it in connected phone: cordova run android