summaryrefslogtreecommitdiffstats
path: root/doc/README-Android.md
diff options
context:
space:
mode:
authorRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
committerRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
commitc4378784ae2caec57634f9f04bcb3dcddc673f36 (patch)
tree70bbdb1c348803006a7cbf2092da65312720a386 /doc/README-Android.md
parent133cee578e04e561bb17e37393bbf7e427522560 (diff)
downloadfastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.tar
fastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.zip
Add Android 4.1+ support. See doc/README-Android.md for build HOWTO.
* Update CMake files to work with android-cmake * Use unix domain socket for communicating with Android GUI * May also run standalone but requires rooted Android device
Diffstat (limited to 'doc/README-Android.md')
-rw-r--r--doc/README-Android.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/README-Android.md b/doc/README-Android.md
new file mode 100644
index 0000000..975a679
--- /dev/null
+++ b/doc/README-Android.md
@@ -0,0 +1,23 @@
+fastd for Android
+=================
+
+Runtime Requirements
+--------------------
+* Android 4.1+
+* x86 / ARMv7a
+ * NEON optimiazation is planned but not currently required
+ * Not tested with x86\_64 or AArch64 but should work too
+
+How to Build
+------------
+* Android NDK r10d+ (r10c or older versions won't work)
+ * make sure ANDROID\_NDK\_HOME is set
+* Ubuntu 12.04+
+ * `sudo apt-get install build-essential automake bison cmake libtool pkg-config`
+ * For Ubuntu **12.04**: cmake 2.8.7 won't work; get a newer version from https://launchpad.net/~kalakris/+archive/ubuntu/cmake
+* or Mac OS X 10.10+ (older versions should work too)
+ * Homebrew
+ * `brew install automake libtool cmake bison`
+
+Then run `doc/build-fastd-android.sh` from `fastd-android` folder. Be warned the script is not perfect; you may need to look into it should anything go wrong.
+