<commit_before>### Setup

First of all, you must have [cordova installed](https://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html)

Cordova plugins are not tracked in the version control. There must be initialized:

Initialize Android platform:

  cordova platform add android

-Whitelist plugin:
    cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git

-Phonegap push plugin:
    cordova plugin add phonegap-plugin-push

### Create the emulator
  - Use Android SDK Manager to download Android SDKs, e.g. files under Android 5.0.1 (API 21) and from the Extras folder ```Android Support Library```, ```Android Support Repository```, ```Google Play Services``` and ```Google Repository```

  - Create an AVD from the Android Virtual Device Manager:
    - The Android emulator target should be of the form ```Google APIs (Google inc.) API Level 21```

### Run the application in the Android emulator

  cordova emulate android

### Debugging the app in Android

The app can be accessed and debugged using [Weinre](http://people.apache.org/~pmuellr/weinre-docs/latest/Home.html)

In the project root, copy the config.js.sample to your config.js<commit_msg>Add instructions for camera plugin<commit_after>### Setup

First of all, you must have [cordova installed](https://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html)

Cordova plugins are not tracked in the version control. There must be initialized:

Initialize Android platform:

  cordova platform add android

-Whitelist plugin:
    cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git

-Phonegap push plugin:
    cordova plugin add phonegap-plugin-push

- Camera plugin
    cordova plugin add cordova-plugin-camera

### Create the emulator
  - Use Android SDK Manager to download Android SDKs, e.g. files under Android 5.0.1 (API 21) and from the Extras folder ```Android Support Library```, ```Android Support Repository```, ```Google Play Services``` and ```Google Repository```

  - Create an AVD from the Android Virtual Device Manager:
    - The Android emulator target should be of the form ```Google APIs (Google inc.) API Level 21```

### Run the application in the Android emulator

  cordova emulate android

### Debugging the app in Android

The app can be accessed and debugged using [Weinre](http://people.apache.org/~pmuellr/weinre-docs/latest/Home.html)

In the project root, copy the config.js.sample to your config.js
{'fraction_non_alphanumeric': 0.0967741935483871, 'fraction_numerical': 0.008166598611678236, 'mean_word_length': 4.303030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4072396', 'n_tokens_mistral': 716, 'n_tokens_neox': 687, 'n_words': 283}