
* webapp: Detect when upgrades are available, and upgrade if the user desires. (Only when git-annex is installed using the prebuilt binaries from git-annex upstream, not from eg Debian.) * assistant: Detect when the git-annex binary is modified or replaced, and either prompt the user to restart the program, or automatically restart it. * annex.autoupgrade configures both the above upgrade behaviors. * Added support for quvi 0.9. Slightly suboptimal due to limitations in its interface compared with the old version. * Bug fix: annex.version did not get set on automatic upgrade to v5 direct mode repo, so the upgrade was performed repeatedly, slowing commands down. * webapp: Fix bug that broke switching between local repositories that use the new guarded direct mode. * Android: Fix stripping of the git-annex binary. * Android: Make terminal app show git-annex version number. * Android: Re-enable XMPP support. * reinject: Allow to be used in direct mode. * Futher improvements to git repo repair. Has now been tested in tens of thousands of intentionally damaged repos, and successfully repaired them all. * Allow use of --unused in bare repository. # imported from the archive
37 lines
1.6 KiB
Markdown
37 lines
1.6 KiB
Markdown
Now git-annex can be used on Android!
|
|
|
|
[[Documentation for using git-annex on Android|/android]]
|
|
|
|
## Android app
|
|
|
|
First, ensure your Android device is configured to allow installation
|
|
of the app. Go to Setup -> Security, and enable "Unknown Sources".
|
|
|
|
Then download the git-annex.apk for your version of Android, and
|
|
open it to install.
|
|
|
|
* [Android 4.4 and 4.3 git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/4.3/git-annex.apk)
|
|
* [Android 4.0 to 4.2 git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/4.0/git-annex.apk)
|
|
|
|
## autobuilds
|
|
|
|
A daily build is also available, thanks to Mesar Hameed and the University
|
|
of Bath CS department.
|
|
|
|
* [Android 4.4 and 4.3 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.3/git-annex.apk)
|
|
* [Android 4.0 to 4.2 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.0/git-annex.apk)
|
|
* [build logs](http://downloads.kitenet.net/git-annex/autobuild/android/)
|
|
|
|
## 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.
|