git-annex/doc/install/Android.mdwn

33 lines
1.3 KiB
Text
Raw Normal View History

2013-05-03 16:29:52 +00:00
Now git-annex can be used on Android!
[[Documentation for using git-annex on Android|/android]]
2013-02-13 18:32:16 +00:00
2013-02-26 04:03:55 +00:00
## Android app
2013-02-13 18:32:16 +00:00
2013-05-03 16:29:52 +00:00
First, ensure your Android device is configured to allow installation
of the app. Go to Setup -> Security, and enable "Unknown Sources".
2013-02-13 18:32:16 +00:00
[Download the git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/)
2013-02-21 20:57:28 +00:00
onto your Android device, and open it to install.
2013-02-13 18:32:16 +00:00
2013-02-26 04:03:55 +00:00
## autobuilds
2013-09-11 17:19:57 +00:00
A daily build is also available, thanks to Mesar Hameed and the University
of Bath CS department.
2013-02-26 04:03:55 +00:00
* [download apk](http://downloads.kitenet.net/git-annex/autobuild/android/git-annex.apk) ([build logs](http://downloads.kitenet.net/git-annex/autobuild/android/))
2013-02-13 18:32:16 +00:00
## building it yourself
git-annex can be built from source for Android.
1. Run `standalone/android/buildchroot` as root (requires debootstrap).
This builds a chroot with an `androidbuilder` user.
The rest of the build will run in this chroot as that user.
2. Then run `standalone/android/install-haskell-packages`
Note that this will break from time to time as new versions of packages
are released, and the patches it applies have to be updated when
this happens.
3. Finally, once the chroot is set up, you can build an Android binary
with `make android`, and `make androidapp` will build the complete APK.