Skip to content
Snippets Groups Projects
building.html 5.53 KiB
Newer Older
  • Learn to ignore specific revisions
  • akwizgran's avatar
    akwizgran committed
    <!DOCTYPE html>
    <html>
    <head>
      <link rel="stylesheet" type="text/css" href="css/styles.css" />
      <title>Briar</title>
      <meta name="description" content="Secure messaging, anywhere"/>
      <meta charset="utf-8" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body id="involved">
    
      <div id="wrapper">
        <div id="header_container">
          <div id="header">
            <a href="index.html"><div id="logo"><img src="img/briar_logo_large.png" alt="Briar" class="logo"/></div></a>
            <div id="nav">
              <iframe id="signupframe" style="display: none" name="signupframe" src="about:blank"></iframe>
              <div id="signup">
                <form id="signupform" action="https://lists.sourceforge.net/lists/subscribe/briar-announce" target="signupframe" method="post">
                  <input placeholder="Email address" type="email" name="email" tabindex="2"></input>
                  <button name="submit" type="submit" id="signup-submit" onClick="_submit_form();">Keep me updated</button>
                </form>
                <div id="signupconf">Thanks! We'll keep you updated.</div>
                <script language="JavaScript">
                <!--
                function _submit_form(){
                    document.getElementById('signupform').style.display = 'none';
                    document.getElementById('signupconf').style.display = 'block';
                    return true
                }
                //-->
                </script>
              </div> <!-- signup -->
              <label for="menu-toggle"><img src="img/menu.png"></label>
              <input type="checkbox" id="menu-toggle"/>
              <ul id="menu">
                <li><a href="index.html" id="indexnav">Home</a></li>
                <li><a href="download.html" id="downloadnav">Download</a></li>
                <li><a href="how-it-works.html" id="hownav">How&nbsp;it&nbsp;Works</a></li>
                <li><a href="about.html" id="aboutnav">About&nbsp;Us</a></li>
                <li><a href="get-involved.html" id="involvednav">Get&nbsp;Involved</a></li>
              </ul>
            </div> <!-- nav -->
          </div> <!-- header -->
        </div> <!-- header_container -->
    
        <div id="container">
          <div id="content">
            <div class="full">
              <h2>Building the Source Code</h2>
    
              <p>1) Download and install <a href="http://developer.android.com/sdk/index.html">Android Studio</a>.</p>
    
              <p>2) Open Android Studio and select <b>Check out project from Version Control</b>.</p>
    
              <img src="img/building/01.png">
    
              <p>3) Select <b>Git</b> from the popup menu.</p>
    
              <img src="img/building/02.png">
    
              <p>4) Enter <b>https://code.briarproject.org/akwizgran/briar.git</b> as the <b>Git Repository URL</b>, then click <b>Clone</b>.</p>
    
              <img src="img/building/03.png">
    
              <p>5) When the source code has downloaded, click <b>Yes</b> to open the project.</p>
    
              <img src="img/building/04.png">
    
              <p>6) Click <b>OK</b> to accept the default settings.</p>
    
              <img src="img/building/05.png">
    
              <p>7) If Android Studio asks you about an <b>Unregistered VCS root</b>, click <b>Add root</b>. This will allow you to update the source code later without repeating the previous steps.</p>
    
              <img src="img/building/06.png">
    
    
              <p>8) Select <b>Build &gt; Build APK</b> from the Android Studio menu.</p>
    
              <img src="img/building/13.png">
    
    akwizgran's avatar
    akwizgran committed
    
              <p>9) When the build process finishes, click <b>Show in File Manager</b> to open the folder containing the APK file, <b>briar-android-debug.apk</b>. You can <a href="http://www.greenbot.com/article/2452614/how-to-sideload-an-app-onto-your-android-phone-or-tablet.html">sideload</a> this file onto any Android device.</p>
    
              <img src="img/building/11.png">
    
              <p>10) Briar is under constant development, so you should check for updates regularly. To get the latest version of the source code, click the <b>Update Project</b> button on the Android Studio toolbar.</p>
    
              <img src="img/building/09.png">
    
              <p>11) Click <b>OK</b> to accept the default settings.</p>
    
              <img src="img/building/10.png">
    
              <p>12) Repeat steps 8 and 9 to build and install the updated app.</p>
    
              <p>If you're interested in getting involved or following the progress of the project, please <a href="https://lists.sourceforge.net/lists/listinfo/briar-devel">join the development mailing list</a>.</p>
    
            </div> <!-- full -->
          </div> <!-- content -->
        </div> <!-- container -->
      </div> <!-- wrapper -->
    
      <div class="clearboth"></div>
    
      <div id="footer_container">
        <div id="footer">
          <div id="signup2">
            <form id="signupform2" action="https://lists.sourceforge.net/lists/subscribe/briar-announce" target="signupframe" method="post">
              <input placeholder="Email address" type="email" name="email" tabindex="2"    ></input>
              <button name="submit" type="submit" id="signup-submit2" onClick="_submit_form2();">Keep me updated</button>
            </form>
            <div id="signupconf2">Thanks! We'll keep you updated.</div>
            <script language="JavaScript">
            <!--
            function _submit_form2(){
                document.getElementById('signupform2').style.display = 'none';
                document.getElementById('signupconf2').style.display = 'block';
                return true
            }
            //-->
            </script>
          </div> <!-- signup2 -->
          <ul>
            <li><a href="copyright.html">Copyright</a></li>
            <li>Site design by Reflective Spaces</li>
          </ul>
        </div> <!-- footer -->
      </div> <!-- footer_container -->
    </body>
    </html>