2013-02-13 18:32:16 +00:00
|
|
|
git-annex can be used on Android, however you need to know your way around
|
2013-02-26 04:03:55 +00:00
|
|
|
the command line to install and use it. (Hope to get the webapp working
|
|
|
|
eventually.)
|
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-02-21 20:57:28 +00:00
|
|
|
First, ensure your Android device is configured to allow installation of
|
2013-02-26 04:03:55 +00:00
|
|
|
non-Market apps. Go to Setup -> Security, and enable "Unknown Sources".
|
2013-02-13 18:32:16 +00:00
|
|
|
|
2013-02-21 20:57:28 +00:00
|
|
|
Download the [git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/)
|
|
|
|
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
|
|
|
When you start the Git Annex app, it will dump you into terminal. From
|
|
|
|
here, you can run git-annex, as well as many standard git and unix commands
|
|
|
|
provided with the app. You can do everything in the [[walkthrough]] and
|
|
|
|
more.
|
|
|
|
|
|
|
|
## autobuilds
|
|
|
|
|
|
|
|
A daily build is also available.
|
|
|
|
|
2013-03-01 23:45:23 +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
|
|
|
|
|
2013-03-01 05:27:56 +00:00
|
|
|
git-annex can be built for Android, with `make android`. It's not an easy
|
|
|
|
process:
|
|
|
|
|
|
|
|
* First, install <https://github.com/neurocyte/ghc-android>.
|
|
|
|
* You also need to install git and all the utilities listed on [[fromscratch]],
|
|
|
|
on the system doing the building.
|
|
|
|
* Use ghc-android's cabal to install all necessary dependencies.
|
|
|
|
Some packages will fail to install on Android; patches to fix them
|
|
|
|
are in `standalone/android/haskell-patches/`
|
|
|
|
* You will need to have the Android SDK and NDK installed; see
|
|
|
|
`standalone/android/Makefile` to configure the paths to them. You'll also
|
|
|
|
need ant, and the JDK.
|
|
|
|
* Then to build the full Android app bundle, use `make androidapp`
|