Instructions for installing K-9 on Android

This commit is contained in:
Bob Mottram 2015-09-29 15:34:53 +01:00
parent 451a133077
commit 9506f0d11b
2 changed files with 91 additions and 1 deletions

View File

@ -215,6 +215,19 @@ To get K9 working with Freedombone you'll need to install development versions o
Build script for OpenKeychain:
#+BEGIN_SRC bash
mkdir ~/develop
cd ~/develop
git clone https://github.com/bashrc/open-keychain
cd open-keychain
git checkout origin/bashrc/hidden-recipient-4
git checkout -b bashrc/hidden-recipient-4
cd tools
nano build.sh
#+END_SRC
Then add the following:
#+BEGIN_SRC bash
#!/bin/bash
@ -285,8 +298,25 @@ echo "$PROJECT_HOME/OpenKeychain/build/outputs/apk/OpenKeychain-debug.apk"
exit 0
#+END_SRC
Save and exit with *CTRL-o*, *CTRL-x*.
#+BEGIN_SRC bash
chmod +x build.sh
./build.sh
#+END_SRC
Build script for K9:
#+BEGIN_SRC bash
cd ~/develop
git clone https://github.com/k9mail/k-9
cd k-9
cd tools
nano build.sh
#+END_SRC
Then add the following:
#+BEGIN_SRC bash
#!/bin/bash
@ -351,6 +381,13 @@ echo "$PROJECT_HOME/k9mail/build/outputs/apk/k9mail-debug.apk"
exit 0
#+END_SRC
Save and exit with *CTRL-o*, *CTRL-x*.
#+BEGIN_SRC bash
chmod +x build.sh
./build.sh
#+END_SRC
*** Import your GPG key into OpenKeychain
With your device connected to a laptop via USB cable and with USB debugging enabled on it:

View File

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<!-- 2015-09-29 Tue 15:14 -->
<!-- 2015-09-29 Tue 15:33 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<meta name="author" content="Bob Mottram" />
@ -688,6 +688,23 @@ Build script for OpenKeychain:
<div class="org-src-container">
<pre class="src src-bash">mkdir ~/develop
<span class="org-builtin">cd</span> ~/develop
git clone https://github.com/bashrc/open-keychain
<span class="org-builtin">cd</span> open-keychain
git checkout origin/bashrc/hidden-recipient-4
git checkout -b bashrc/hidden-recipient-4
<span class="org-builtin">cd</span> tools
nano build.sh
</pre>
</div>
<p>
Then add the following:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">bash</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This script is intended to be used on Debian systems for building</span>
@ -758,12 +775,37 @@ git submodule init &amp;&amp; git submodule update
</pre>
</div>
<p>
Save and exit with <b>CTRL-o</b>, <b>CTRL-x</b>.
</p>
<div class="org-src-container">
<pre class="src src-bash">chmod +x build.sh
./build.sh
</pre>
</div>
<p>
Build script for K9:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">cd</span> ~/develop
git clone https://github.com/k9mail/k-9
<span class="org-builtin">cd</span> k-9
<span class="org-builtin">cd</span> tools
nano build.sh
</pre>
</div>
<p>
Then add the following:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">bash</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">This script is intended to be used on Debian systems for building</span>
@ -827,6 +869,17 @@ android sdk
<span class="org-keyword">exit</span> 0
</pre>
</div>
<p>
Save and exit with <b>CTRL-o</b>, <b>CTRL-x</b>.
</p>
<div class="org-src-container">
<pre class="src src-bash">chmod +x build.sh
./build.sh
</pre>
</div>
</div>
</div>