<commit_before>Android Runner
================

(C) 2012 <NAME> <<EMAIL>>

This is a template to enable ant tasks to run apps and tests...
Supporting Android SDK r20 and later on *nix-alike OSes (e.g. Mac OS X 10.6/10.7/10.8.)


0. INSTALLATION
-----------------

$ git clone git://github.com/taky/android-runner.git etc/runner
$ python etc/runner/bootstrap.py . your.package.name
$ vim runner.properties
runner.at=etc/runner
...

1. USAGE (basic)
-----------------

$ vim runner.properties
...
runner.activity=MainActivity
...
$ ant run
[Runs on device or emulator, emiting logcat]


2. USAGE (with test project)
-----------------------------

$ android create test-project -p test/integration -m ../..
$ ant test-integ-clean
[Cleans projects, compiles main project and test project, and runs on device or emulator]

$ android create test-project -p test/functional -m ../..
$ ant test-func-clean
[Cleans projects, compiles main project and test project, and runs on device or emulator]
<commit_msg>Separating instructions for r20 and r20.0.1 (and later)<commit_after>Android Runner
================

(C) 2012 <NAME> <<EMAIL>>

This is a template to enable ant tasks to run apps and tests...
Supporting Android SDK r20 and later on *nix-alike OSes (e.g. Mac OS X 10.6/10.7/10.8.)


0. INSTALLATION
-----------------

# Android SDK r20.0.1 and later
$ git clone git://github.com/taky/android-runner.git etc/runner
$ python etc/runner/bootstrap.py . your.package.name
$ vim runner.properties
runner.at=etc/runner
...

# Android SDK r20
$ git clone -b exp/r20 git://github.com/taky/android-runner.git etc/runner
$ python etc/runner/bootstrap.py . your.package.name
$ vim runner.properties
runner.at=etc/runner
...


1. USAGE (basic)
-----------------

$ vim runner.properties
...
runner.activity=MainActivity
...
$ ant run
[Runs on device or emulator, emiting logcat]


2. USAGE (with test project)
-----------------------------

$ android create test-project -p test/integration -m ../..
$ ant test-integ-clean
[Cleans projects, compiles main project and test project, and runs on device or emulator]

$ android create test-project -p test/functional -m ../..
$ ant test-func-clean
[Cleans projects, compiles main project and test project, and runs on device or emulator]

{'fraction_non_alphanumeric': 0.178335535006605, 'fraction_numerical': 0.022016732716864818, 'mean_word_length': 2.8056951423785597, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3156494', 'n_tokens_mistral': 743, 'n_tokens_neox': 696, 'n_words': 245}