git-annex-4.20130521.1: debian/git-annex/usr/share/doc/git-annex/html/install/Android.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Android</title>
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="stylesheet" href="../local.css" type="text/css" />
</head>
<body>
<div class="page">
<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">
<a href="../index.html">git-annex</a>/
<a href="../install.html">install</a>/
</span>
<span class="title">
Android
</span>
</span>
</div>
</div>
<div class="sidebar">
<p><img src="../logo_small.png" width="150" height="115" class="img" /></p>
<ul>
<li><a href="../install.html">install</a></li>
<li><a href="../assistant.html">assistant</a></li>
<li><a href="../walkthrough.html">walkthrough</a></li>
<li><a href="../tips.html">tips</a></li>
<li><span class="createlink">bugs</span></li>
<li><span class="createlink">todo</span></li>
<li><span class="createlink">forum</span></li>
<li><a href="../comments.html">comments</a></li>
<li><a href="../contact.html">contact</a></li>
<li><a href="http://flattr.com/thing/84843/git-annex"><img src="https://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" /></a></li>
</ul>
</div>
<div id="pagebody">
<div id="content">
<p>git-annex can be used on Android, however you need to know your way around
the command line to install and use it. (Hope to get the webapp working
eventually.)</p>
<h2>Android app</h2>
<p>First, ensure your Android device is configured to allow installation of
non-Market apps. Go to Setup -> Security, and enable "Unknown Sources".</p>
<p>Download the <a href="http://downloads.kitenet.net/git-annex/android/current/">git-annex.apk</a>
onto your Android device, and open it to install.</p>
<p>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 <a href="../walkthrough.html">walkthrough</a> and
more.</p>
<h2>autobuilds</h2>
<p>A daily build is also available.</p>
<ul>
<li><a href="http://downloads.kitenet.net/git-annex/autobuild/android/git-annex.apk">download apk</a> (<a href="http://downloads.kitenet.net/git-annex/autobuild/android/">build logs</a>)</li>
</ul>
<h2>building it yourself</h2>
<p>git-annex can be built for Android, with <code>make android</code>. It's not an easy
process:</p>
<ul>
<li>First, install <a href="https://github.com/neurocyte/ghc-android">https://github.com/neurocyte/ghc-android</a>.</li>
<li>You also need to install git and all the utilities listed on <a href="./fromscratch.html">fromscratch</a>,
on the system doing the building.</li>
<li>Use ghc-android's cabal to install all necessary dependencies.
Some packages will fail to install on Android; patches to fix them
are in <code>standalone/android/haskell-patches/</code></li>
<li>You will need to have the Android SDK and NDK installed; see
<code>standalone/android/Makefile</code> to configure the paths to them. You'll also
need ant, and the JDK.</li>
<li>Then to build the full Android app bundle, use <code>make androidapp</code></li>
</ul>
</div>
<div id="comments">
<div class="addcomment">Comments on this page are closed.</div>
</div>
</div>
<div id="footer" class="pagefooter">
<div id="pageinfo">
<div id="backlinks">
Links:
<a href="../install.html">install</a>
</div>
<div class="pagedate">
Last edited <span class="date">Sat May 4 11:06:45 2013</span>
<!-- Created <span class="date">Sat May 4 11:06:45 2013</span> -->
</div>
</div>
<!-- from git-annex -->
</div>
</div>
</body>
</html>