Active questions should be underlined until answered.
Please pick a colour for your name, and list yourself here:
isis
abel
Please keep your colour when answering someone else's questions.
== OONI ==
OONI is described [https://ooni.torproject.org here].
Our main git repository is here: https://gitweb.torproject.org/ooni-probe.git
And individual project members currently use github for their personal and development branches, which
shouldn't ever be pulled from unless you really know what you're doing or have talked to that developer.
OONI documentation is [https://ooni.torproject.org/docs/ here].
Our necessary libraries and such are in a pip (in Debian python-pip) requirements.txt file, in the top
level of our repo. I believe many of these dependency libraries will need to be cross-compiled as well.
Some of these things, so far as I can recall, have already been compiled for Android, specifically, I
think Twisted was already done, last I checked, but I do not remember which version.
== Setting up your Android toolchain, the Android SDK, & Android NDK (if you don't already have them) ==
see https://code.google.com/p/python-for-android/wiki/CrossCompilingPython
=== Useful ~/.bashrc.android ===
I use this when doing NDK stuff, the python-for-android link defines ANDROID_NDK_TOOLCHAIN_ROOT which seems to be a copy of the toolchain in a new location, this .bashrc.android does not take that into account. In my ~/src/android, android-ndk is a symlink to the current NDK folder (which atm is android-ndk-r8b).
== Patching Python due to Android OS's lack of support for $LOCALE ==
There is [http://mdqinc.com/blog/2011/09/cross-compiling-python-for-android/ a good article on this here].
Specifically, we'll need [https://bitbucket.org/gabomdq/ignifuga/raw/tip/tools/patches/python.android.diff this patch].
OONI's code doesn't use locale anywhere yet, though, of our current dependencies, sphinx, docutils, & twisted.mail and twisted.conch, use locale settings. We don't use twisted.mail or twisted.conch, and sphinx and docutils are merely for generating OONI's documentation, which isn't necessary to do on android.