<commit_before>Incident Locator - android client
=================================

About
-----

Android client for an incident locator service.

**Note** this is still work in progress.

| Project            | IncidentLocator-android
|:-------------------|:--------------------------------------------------
| Homepage           | https://github.com/tlatsas/incident-locator-android
| Version            | v0.1
| Min SDK Version    | v10
| License            | BSD 3-Clause


Build
-----

1. Clone the git repository (or download a specific [tag][1])

    `$ git clone https://github.com/tlatsas/incident-locator-android.git`

2. Create the project environment

    `$ android update project --path incident-locator-android/`

3. Navigate into the project folder and compile in debug mode

    `$ cd incident-locator-android && ant debug`


Install
-------

* Install in default running emulator using `ant`

    `$ ant installd`

* Install in default running emulator using `adb`

    `$ adb -e install -s bin/incident_locator-debug.apk`

* You can combine compile and installation using `ant`

    `$ ant debug install`

* Install in default device

    `$ adb -d install -s bin/incident_locator-debug.apk`


If your are using eclipse you can find relevant instructions [here][2].


Permissions
-----------

* ACCESS_FINE_LOCATION

Use GPS to obtain user location.

* WRITE_EXTERNAL_STORAGE

Log coordinates in external storage.


SDK Limitations
---------------

* There is a [known][3] issue with stock android-sdk api v10 image which crashes the emulator when using GPS.
Please use the image provided with and android-google-apis v10.

* There is an issue with android-google-apis v10 image. It fails to initialize the GPS when turning GPS functionality on/off from the android settings.
It works fine with a real device.


License
-------
(c) 2012 <NAME>, under the BSD 3-Clause License. See `COPYING`.
<commit_msg>small fix in permissions list<commit_after>Incident Locator - android client
=================================

About
-----

Android client for an incident locator service.

**Note** this is still work in progress.

| Project            | IncidentLocator-android
|:-------------------|:--------------------------------------------------
| Homepage           | https://github.com/tlatsas/incident-locator-android
| Version            | v0.1
| Min SDK Version    | v10
| License            | BSD 3-Clause


Build
-----

1. Clone the git repository (or download a specific [tag][1])

    `$ git clone https://github.com/tlatsas/incident-locator-android.git`

2. Create the project environment

    `$ android update project --path incident-locator-android/`

3. Navigate into the project folder and compile in debug mode

    `$ cd incident-locator-android && ant debug`


Install
-------

* Install in default running emulator using `ant`

    `$ ant installd`

* Install in default running emulator using `adb`

    `$ adb -e install -s bin/incident_locator-debug.apk`

* You can combine compile and installation using `ant`

    `$ ant debug install`

* Install in default device

    `$ adb -d install -s bin/incident_locator-debug.apk`


If your are using eclipse you can find relevant instructions [here][2].


Permissions
-----------

* ACCESS_FINE_LOCATION

    Use GPS to obtain user location.

* WRITE_EXTERNAL_STORAGE

    Log coordinates in external storage.


SDK Limitations
---------------

* There is a [known][3] issue with stock android-sdk api v10 image which crashes the emulator when using GPS.
Please use the image provided with and android-google-apis v10.

* There is an issue with android-google-apis v10 image. It fails to initialize the GPS when turning GPS functionality on/off from the android settings.
It works fine with a real device.


License
-------
(c) 2012 <NAME>, under the BSD 3-Clause License. See `COPYING`.

{'fraction_non_alphanumeric': 0.15046535677352638, 'fraction_numerical': 0.011375387797311272, 'mean_word_length': 2.6057781919850886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '998956', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1048, 'n_words': 420}