<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CUCC Expedition Handbook: Your phone</title>
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
</head>
<body>
<h2 id="tophead">CUCC Expedition Handbook - Your phone</h2>

<h1>Cave survey software - using a phone</h1>

<h2>Phones</h2>


<h3>Your Android phone</h3>
<p>Everyone has a phone pretty much, and everyone should have GPS enabled for safety. See <a href="../essentials.html">the expo GPS configuration pages</a>.
<p>There are several cave survey apps which run on a phone. We don't yet have a well documented way of using these 
with the expo survey data workflow.
<ul>
<li><a href="https://osmand.net/">OsmAnd</a> - a GPS app. 
<li><a href="http://www.gpsessentials.com/">GPSessentials</a> - another GPS app.
<li><a href="http://apemap.com/">Ape@Map</a> - another GPS app, compatible with Kompass commerical map sand used by Austrian cavers

<li><a href="https://sites.google.com/site/speleoapps/home">TopoDroid</a> makes cave surveys with the DistoX.
<li><a href="https://sites.google.com/site/speleoapps/home">Cave3D</a> is a Therion 3D viewer.
<li><a href="https://sites.google.com/site/speleoapps/home">ThManager</a> organizes single surveys, exported by TopoDroid, into Therion projects encoded by Therion "thconfig" files.
</ul>

<p>You can also use a phone to upload files and manage version control on the server. This is not the place to start, but if you are already doing this on your own laptop then these can be useful:
<ul>
<li><a href="https://www.termius.com/">Termius</a> - command line to create a registratkey for your phone, to ssh (and mosh) login to the expo server. To get sftp you have to buy it.
<li><a href="uploading.html#android">andftp</a> FTP app - needs an <a href="keyexchange.html">ssh key</a> installed on your phone
<li><a href="ftpusage.html">FTP using Cx_File_Explorer</a> (this is probably out of date)
</ul>

<h2 id="android">Bulk Data Phone: Using an FTP app </h2>
<p>If you want to do it yourself and the USB cable trick does not work then you will need to install a file manager and FTP app. Currently (on Expo 2019) the best seems to be the free <a href="http://www.lysesoft.com/products/andftp/">andftp</a> app. Assuming you can find where your phone camera has put the photo files on your phone, you can use your phone to upload photos directly to the /uploads/ folder on the expo server. However renaming them to something sensible and putting them in your own <span style="font-family: monospace">/YourName/</span> folder (see above for file naming guidelines) is fiddly on a phone.
<p>To use the FTP app you will need:<a href="http://www.lysesoft.com/products/andftp/"><img src="andftpsplash.jpg" width=128 style="float:right; margin: 10px"></a>
<ol>
<li>The hostname of the server: <span style="font-family: monospace">expo.survex.com</span>
<li>the username: <span style="font-family: monospace">expo</span>
<li>the password: (the usual cavey:beery password which you can get verbally from another expoer)
<li>the target folder: <span style="font-family: monospace">/uploads/</span>, or it may appear as <span style="font-family: monospace">/expofiles/uploads/</span>
<li>the port number: 21 (if you leave this blank it will probably work)
</ol>
<p>But <em>none of this will work</em> until you have also done the <a href="keyexchange.html">key-pair setup</a> procedure. On a phone this means that you will also need to install a terminal (command line) app. See <a href="phone.html">Android</a> instructions.
<ol>
<li>Install the <a href="http://www.lysesoft.com/products/andftp/">andftp</a> app onto your Android phone using the Google Play Store and allow it to access your files and photos on your phone (just click on the popup to do this).
<li>Click on the icon that looks like a "plus" synbol in a circle
<li>This opens a window with 3 tabs: General, Advanced and Sync
<li>On the General tab, type in the hostname, username and password as listed above.
<li>Also tick the checkbox "Enable resume support"
<li>Click OK to the two popups that appear
<li>You will now see an icon of a networked file folder (light blue) with the label "expo.survex.com". Click on it.
<li>Wait a while as it loads...
<li>Keep waiting. Various messages will scroll by at the bottom of the screen in tiny font.
<li>Keep waiting..
<li>The tiny text at the bottom will say "226 Transfer complete" and the main part of the window will show a listing of the files in the /uploads/ folder on the server.
<li>Now click on the little icon of a phone near the middle of the top row of icons.
<li>This will show a list of folders on your phone. Initially it will show "alt_autocycle, Android and DCIM".
<li>Click on ""DCIM", it will show a folder "Camera", click on that
<li>Now you can see a list of all your photo files by name and with the size shown on the right. Typically they will be 1.3MB or so in size.
<li>Before you upload, you need to create your own folder.
<li>Now click on the icon of a little cloud near the middle of the icon bar. This will show the files on the server.
<li>Now you need to create a folder <span style="font-family: monospace">/YourName/</span> and move those files into it. Click on the 3-dots icon on the right-hand end of the icon bar.
<li>Select the Create Folder option.
<li>A popup appears and you type in YourName. The folder is created.
<li>Click on the <span style="font-family: monospace">/YourName/</span> folder. This will makeyour folder the destination for uploaded files.
<li>Now click on the little icon of a phone near the middle of the top row of icons.
<li>This shows you the list of your photo files you saw before.
<li>Clicking on each photo filename will cause a green tick to appear on the left. This is selecting files for FTP upload.
<li>Now click on the "upload icon" on the top row: it looks like a short horizontal line with an up-arrow on it.
<li>A popup will appear asking if you wish to proceed. Click OK.
<li>The upload happens and you can see progress bars for each file.
<li>When it finishes it presents a popup with an OK button. Click on it.
<li>Now you will see the files you have just uploaded. And they will be in your folder. Success.
<li>Now you need to rename the files to something descriptive. This is very time-consuming on a phone.
<li>Click on one file to give it a green tick. Then select the 3-dot icon and then select the "Rename" option in the drop-down menu.
<li>Of course you will have earlier noted down the names of all your photos and made a note of their contents (which you see using the phone's Gallery app) so that you can do the renaming intelligently.

</ol>
<hr />
Return to <a href="chromebook.html">Setting up a Chromebook</a></body><br>
Return to <a href="basiclaptop.html">Setting up a basic laptop</a></body><br>
Return to <a href="surveylaptop.html">Setting up a survey laptop</a></body>

<hr /></body>
</html>