aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/mobile-manual.txt
blob: d003c9850491a88e30644fe8a58358701ee38dcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
// Subsurface-mobile User Manual
// =============================
// :author: Manual authors: Willem Ferguson, Dirk Hohndel
// :revnumber: 2.1.5
// :revdate: December 2018
:icons:
:toc:
:toc-placement: manual
:numbered:
// :website: http://subsurface-divelog.org

image::mobile-images/Banner.jpg["Banner",align="center"]

[big]#Subsurface-mobile USER MANUAL#

*Manual authors*: Willem Ferguson, Dirk Hohndel

// toc::[]

[blue]#_Version 2.1.5, December 2018_#

Welcome as a user of _Subsurface_ and _Subsurface-mobile_, advanced dive logging
software with extensive infrastructure to describe, organize, and interpret scuba
and free dives. _Subsurface_ offers many advantages over other similar
software solutions, including compatibility with Windows, macOS, Linux (many
distributions), Android and iOS. In addition, _Subsurface_ is
open-source software that allows downloading dive
information from many dive computers.

Introducing Subsurface-mobile
-----------------------------

_Subsurface-mobile_ is a limited mobile version of _Subsurface_
aimed at Android and iOS smartphone and tablet devices, allowing viewing, entering, sharing, and storage of dive information at dive sites where a desktop
computer is not useful. While the desktop version of _Subsurface_ shows much more detailed information
for each dive, the mobile version allows a more accessible dive log
on a dive trip, useful for proving dive experience to dive shops or to review
previous dives. _Subsurface-mobile_ also allows
the gathering of GPS locations where dives are performed.

Users of _Subsurface-mobile_ typically use the
mobile app as a companion to the laptop/desktop version of _Subsurface_,  sharing dive information
between the mobile and the desktop versions. However _Subsurface-mobile_ can
also be used independently of the desktop version and does not require the use of
cloud storage.

_Subsurface-mobile_ allows:

- Download and storage of dive log information using the _Subsurface_ cloud.
- Viewing this information on a mobile device.
- Manually creating and adding new dive records to your dive log.
- Download dive data directly from many dive computers.
- Editing many of the dive log data fields, e.g. dive-master, buddy,
  equipment or notes relating to a dive.
- Recording, storing and applying GPS positions of dives.
- Viewing the localities of recorded GPS positions and of dives
  on a map.

These items are discussed in greater detail in the following text.
_Subsurface-mobile_ does not support download of dive data from all the
dive computers that the desktop/laptop version can. This limitation is
mainly caused by the inability of accessing some types of devices on the
two mobile platforms. On Android, a subset of
dive computers that use a FTDI USB interface or a Bluetooth / Bluetooth LE interface
are accessible by _Subsurface-mobile_. On iOS, only Bluetooth LE based
dive computers are supported.

== Installing _Subsurface-mobile_ on your mobile device

Find _Subsurface-mobile_ in the _Google Play Store_ or the _iTunes Store_
and install it. Please note that both stores also contain the older _Subsurface_ companion app (used only for tracking GPS positions) - make sure you actually install _Subsurface-mobile_.

== Using _Subsurface-mobile_ for the first time

When you start _Subsurface-mobile_ for the first time, a Subsurface
splash screen is shown while the program loads. On some devices this
may take several seconds. After loading, the _Cloud Credentials screen_ appears
(see image below on left).

image::mobile-images/Credentials.jpg["FIGURE: Mobile credentials screen",align="center"]

=== When NOT Using Cloud Storage
Tap the "No cloud mode" button. The app will not access the _Subsurface_
cloud storage server
to obtain dive log information. This means that dive log information is
stored on the mobile device only. If no dives have been entered into the dive log
yet (the usual case), an empty dive log is created.

=== Using Cloud Storage
The _Subsurface_ developers provide a dedicated and
free Internet cloud storage account that can be used for
storing dive log information. This account can be created either from _Subsurface_ on the desktop or from _Subsurface-mobile_
using a mobile device; you can
do full maintenance of a dive log from _Subsurface-mobile_ alone. By using the same
credentials with _Subsurface-mobile_ and _Subsurface_ for desktop, the _Subsurface_ cloud storage allows sharing of a dive
log between both (or even more than two) devices.

The dive data on the cloud are cached locally both on the mobile device as well as on the desktop - it is easy to create backups of the data (for example in XML format) on the desktop: both mobile device and desktop keep a local copy of the data so that the dive log is always accessible, even without Internet connection. The Subsurface team never accesses a user's dive data without explicit permission to do so, the data are not used for any purpose other than providing them to the user who created them. There are no ads and no harvesting / analysis of the data stored in the Subsurface cloud storage.

1) Enter an e-mail address and a password in the fields indicated on the screen (see image above).
The e-mail address should be in lower case and the password should contain a combination of
letters from the alphabet (upper and lower case) and/or numbers.
Tap the "Sign-in or Register" button. If you have already set
up an account from the _Subsurface_ desktop application, enter the same credentials here.
Once the dive
list has been downloaded from the cloud, _Subsurface-mobile_ usually works only with the the local
copy on the mobile device. This avoids long delays or even failure of operations if there is a bad (or no) internet connection, a situation fairly common at many dive sites. Once registered, _Subsurface-mobile_ remembers the cloud credentials and it is not necessary to provide these again when launching the program.

2) If this is a new cloud account, a PIN screen will open (see image on right, above). A PIN is e-mailed
to the email address entered in the previous step. Enter this PIN into the field indicated
and tap the _Register_ button. The user
information is stored on the cloud server and access to the cloud is enabled. In this case
the dive list is initially empty. Start entering dives in the dive
log or download dive information from a supported dive computer.

****
[icon="images/icons/important.png"]
[IMPORTANT]
*Cloud problems: FAQ*

[blue]#After filling in the correct information and submitting it, I did not receive a PIN by email#

1. Check *carefully* that there is not a spelling mistake in the email address you provided.
2. Check that the return email containing the PIN is not in the SPAM folder of your email client.
3. Wait for 24 hours and check again for an email with a PIN. 
4. If there is still no email containing a PIN, send mail to in-app-support@subsurface-divelog.org

[blue]#I want to access the Subsurface cloud facility but I have forgotten my password. How can I reset my password?#

Open the following web address: https://cloud.subsurface-divelog.org/passwordreset

This will require that you enter the same email address that you used during cloud registration.
****

The dive log can be updated automatically. If there is Internet connectivity, _Subsurface-mobile_ accesses
the cloud-based dive log to verify that the local copy of the dive log is still the
same as the log in the cloud server. If not, the local copy and the copy on
the server are synchronized.

=== Changing the existing login credentials on the _Subsurface_ cloud

The login credentials can be changed, for example to work with
multiple accounts. See the section on xref:S_ChangeCloudAccount[Changing to a different _Subsurface_ cloud account].

== Getting Support

The best place to get support is the Subsurface User Forum. Additionally, Subsurface-mobile allows you to send a support email by tapping on _Ask for support_ in the main menu. This will open an email to our in app support address in the native email client, including the relevant logs.

== Menu Structure and User Interface

At the bottom of many _Subsurface-mobile_ screens is a round button that provides for
several actions (see image below). The most common choice is indicated in a round colored _action button_ (in the case below, edit a dive). Alternative actions are indicated in a white _action bar_.
On Android devices, use the Android Back
button for "cancel", "discard" or "back" actions. For example, when
editing dive information, tapping the action button saves the changes while the
Android back button can be used to cancel the edit without saving changes.

image::mobile-images/Actionbutton.jpg["FIGURE: Action Button",align="center"]

On iOS devices, on screens where a "back" action is enabled, a back arrow
is shown in the top left corner of the screen.

For a consistent experience between iOS and Android,
_Subsurface-mobile_ on Android does not use the traditional "hamburger"
menu button in the top left or right corner of the screen to open menus.
Instead, _Subsurface-mobile_ uses a
different user interaction philosophy based on the Kirigami framework
developed by the Plasma developers. There are three ways to open the main menu:

- Tap the "hamburger" symbol in the lower left corner of the screen
  (easy to reach for hand held devices)
- Swipe towards the right across the left edge of the screen

image::mobile-images/Menusystem.jpg["FIGURE: Dive management sub-panel",align="center"]

The image above indicates some of the important features of the menu system.
On the left is the main menu, activated as described above. On the right of the image
are the items of all the sub-menus accessible.

All screenshots in this user manual are currently from the Android
version. The iOS screens look similar.

== The Dive List

Most of the actions of _Subsurface-mobile_ center around the dives on the
dive list. While the dive list is loading from the cloud,
a message appears at the bottom of the screen, indicating that the cloud is
being accessed, after which the dive list is shown. Once the list is loaded you can scroll up and down through your dive history.
To upload dives from a dive computer, tap the blue action button. If you wish
to add a dive manually, tap the + button in the action bar (described below).
Tapping an existing dive on the list brings up a display of the _Details View_ for that dive
including the dive profile, notes and additional information.

image::mobile-images/Divelist2.jpg["FIGURE: Dive list screen",align="center"]

You can view other dives by swiping the _Details view_ to the right (for the
previous dive) or to the left (following dive).
Using the Action Bar, it is also possible to delete the dive (tap the dustbin
on the Action Bar) or to view the dive
location on a map viewer (Google Maps on Android, the Google Maps web site
on iOS; tap the GPS icon on the Action Bar.).

== Filter the dive list

Use this action button:

image::mobile-images/FilterButton.jpg["FIGURE: Filter button",align="center"]

at the bottom of the dive list to perform filtering of the dive list (see image on left above).

image::mobile-images/Filter.jpg["FIGURE: Filter tool",align="center"]

By default, all the dives in the dive log are shown in the dive list. After several years your dive log can become quite long and, sometimes, you might like to list only the dives of a particular type, e.g. those at a particular dive site or those with a specific buddy or dive master. Use the Filter to achieve this. The filter mechanism searches through all the information for each dive, looking for one or more key words. Only the dives containing these key words are listed in the dive list. In the xref:S_Settings[_Settings_] screen there two options that affect the way the filter searches for appropriate information. Firstly, you can select _Match filter case sensitive_ which causes the search of key words to be case sensitive. Secondly, you can select _Include notes in full text filtering_. If this option is not selected, the filter does not search through the dive notes for key words. Selecting the _Filter_ action button brings up a text box at the top of the dive list. Type the key words to be searched for. In the image on the left, the dive list has been filtered for the word "Nitrox" and 265 dives were found containing this word as a tag. For each trip in the dive list the number of dives containing "Nitrox" as a tag is shown. To clear the filter, remove the key words from the text box and select the Filter action button to switch off filtering.

== Viewing the locations of all dives in the dive list

image::mobile-images/DivesMap.jpg["FIGURE: Map of all dive sites",align="center"]

The locations of all dives in the dive list can be viewed from the _Main Menu_ by selecting the _Map_ option.
A satellite image of the world is shown. At that scale no dive sites are shown. If you zoom into a particular region
of the world the dive sites appear, indicated by red flags. Zooming in even closer indicates the names of each
of the different dive sites.

== Viewing the location of a dive on _Google Maps_

image::mobile-images/Map.jpg["FIGURE: Map of dive site",align="center"]
In the _Details View_, the Action Bar at the bottom has a GPS pin on the
left hand side. Tap that pin and the dive site is shown in Google Maps. Close Google Maps by using the Android _Back_ button
or tapping on the _Subsurface-mobile_ link in the top left corner on iOS.

Alternatively, the _Details View_ has a button at the top right hand marked
_Map it_. Tap this button to open Google Maps showing the dive site (image on left).

[[S_View_Dive]]
== View a dive

When you tap on a dive in the _Dive List_, a new screen with the dive profile
and many important details about the dive is opened. You can use a pich gesture
to zoom into the profile, and tapping with one finger, waiting briefly until
the profile becomes translucent, and then dragging the finger around allows you
to pan the profile so the interesting parts are shown.

[[S_Edit_Dive]]
== Edit a particular dive

image::mobile-images/Editdive.jpg["FIGURE: Dive edit screen",align="center"]
At the bottom of the _Dive Details_ screen the action button is a pencil.
Tapping the pencil button changes the page and enables edit boxes that allow
modifying the existing dive information, e.g. adding text to the dive notes
or changing the names or values of some of the information (see image on left).
It may be necessary to scroll the window to access all the information.
At the bottom of the edit screen is a _Save_ action button. Tap this to save
the new information, after which the dive list screen is
updated and shown. To cancel any edits, tap the Android _Back_ Button or
the application back button at the top left of the screen on iOS.

[[S_Add_Dive]]
== Manually adding a new dive to the dive list

You can manually add a dive to the existing dive list. On the dive list
tap the "plus" sign in the action bar, or use the
main menu and tap _Dive management  ->  Add dive manually_. This opens  a screen that is
identical to the editing screen discussed above. When a dive is added manually, you
cannot directly add a dive profile from a dive computer. However, if you do not use a
dive computer, the duration, depth and several other bits of information about
the new dive can be entered. The _Action button_ at the bottom of the screen
contains a disk symbol. Tap this to save the new dive. To cancel any edits, tap the _Back_ button.
The left-hand image below shows a screenshot of a dive being created and the right-hand image shows
the same dive in _Details View_.

image::mobile-images/Manualdive.jpg["FIGURE: Manual dive entry screen",align="center"]

== Copy dive information from one dive to another

When editing dives it is possible to transfer information from one dive to another. For instance,
when diving with the same buddy and the same equipment configuration during a particular dive trip
it can be efficient to simply copy all this information from the previous dive into the dive that
is being edited. Currently a standard list of dive information is copied to the clipboard:

Divemaster, Buddy, Suit, Tags, Cylinders, Weights.

Copy and paste dive information is performed on the Dive List. Long-press on a dive. A panel
with three icons appears on top the selected dive :

image::mobile-images/CopyDeleteDive.jpg["FIGURE: Copy/Delete dive information",align="center"]

To copy the above information to the clipboard, select the leftmost of the three icons. A "Copy"
notification briefly appears on the screen. Now long-press the dive into which the copied information
needs to be pasted. The same three icons appear on the target dive. Select the middle icon. A "Paste"
notification briefly appears on the screen. This completes the copy-and-paste action. Continue by
reviewing this new (pasted) information by manually editing the target dive.

To choose what dive details to copy, long-press the copy button. This will open
up a configuration page where you can toggle the details you want to copy over
to the destination.

== Deleting a dive

Delete a dive from the dive list by long-pressing a dive
until a red dustbin appears on the right-hand side (see image above). Tap the dustbin.
The dive is deleted without asking any confirmation because _Subsurface-mobile_ assumes that the
combination of a long tap on the dive with another tap on the red dustbin is an unambiguous
instruction to delete the dive.

To choose what dive details to copy, long-press the copy button. This will open
up a configuration page where you can toggle the details you want to copy over
to the destination. By default, the following fields are copied:

image::mobile-images/Delete_undo.jpg["FIGURE: Undo delete dive",align="center"]

[[S_Download]]
== Download dives from a dive computer

From the main menu,
tap _Manage dives ->  Download from DC_. A screen is shown requiring that the user specify
the names of the vendor and model of the dive computer. For instance, when using a Shearwater Petrel dive
computer, the vendor is _Shearwater_ and the Dive computer name is _Petrel_(see image on the left, below).
*Caveats:* The download feature in smartphones supports only a limited number of dive computers. On
Android devices these are typically dive computers using an FTDI interface
using a USB OTG cable (but this is blocked on some Android devices by OS
settings). Android devices also support Bluetooth dive computers that
are supported in _Subsurface_ on the desktop. Both Android and iOS devices allow direct
download of dive data from a handful of Bluetooth LE enabled dive
computers. Use the _Vendor name_ and _Dive Computer_ drop-downs to pick the correct
dive computer. When downloading from multiple different dive computers, shortcut
buttons appear below the drop-downs to easily switch between them. In the xref:S_Settings[_Settings_] menu
you can remove these buttons, a useful feature for removing buttons of dive
computers that are not used any more. Achieve this by selecting the option 
_Forget remembered dive computers_ in the xref:S_Settings[_Settings_] menu.
After all these caveats, let us proceed with download. 

*For USB FTDI dive computers:*
This feature is not supported on iOS and on most newer Android devices. It still works on some older
Android devices (typically Android 7 and older) and is kept enabled for this
reason. Note: USB cables "normally" used for uploading dives to a
desktop/laptop computer do NOT work; these
cables usually have a full-sized ("Type A") male USB plug
on one end which plugs into the USB port of a desktop/laptop computer. For downloads to a mobile device
one needs a USB OTG (USB On-The-Go) cable.

[width="100%", frame="None"]
|=======
a|image::mobile-images/USB-OTG.jpg["FIGURE: USB-OTG cable",align="center"] | 
In most cases it is required to plug the USB
cable "normally" used with the dive computer into a USB OTG cable which,
in turn, plugs into the mini-USB (or sometimes a USB "Type C")
receptacle of the mobile device. The
OTG cable usually has a full-size ("Type A") female receptacle at one end which
accommodates the full-sized male plug
of the USB cable "normally" used (see image below). This means that two cables are used to connect
the dive computer to the mobile device. *Not all Android devices support OTG cables*
and even on some devices that do support those cables in general, as mentioned above _Subsurface-mobile_
does usually not support cable based downloads, except on some older Android devices.
|=======

_Subsurface_ remembers the settings for dive computers that
have been successfully used (image on right, below). These appear
as buttons under a heading "_Previously used dive computers_".
Select the appropriate button. Having connected the USB dive computer to the
_Subsurface_ computer and having selected the appropriate vendor and dive computer,
ensure that the Connection text box shows "FTDI". 

*For BLUETOOTH/BTLE dive computers:* The process for Bluetooth download is slightly different between Android and iOS.
In our testing we got the best results on iOS when the dive computer was
in Bluetooth mode before _Subsurface-mobile_ is started. On most dive
computers this is done through a menu entry, others (like the Suunto
models) always respond to BTLE requests. However, on Android devices,
you should first establish a link between the
Bluetooth or Bluetooth LE dive computer and the mobile device using
Android utilities. See below for more details.

For Bluetooth-equipped dive computers and Android devices, establish a Bluetooth connection between the dive computer and the
mobile device. Use the tools on the mobile device to achieve pairing between the Bluetooth dice computer
and the mobile device. For many Android devices,
the Settings -> Bluetooth tool of Android is probably appropriate.
_Subsurface-mobile_ performs communication using both Bluetooth and Bluetooth-low-energy (BTLE).
The appropriate choice of Bluetooth communication is often made by the software and the user need not be concerned with this.
For dive computers with both Bluetooth and Bluetooth-low-energy (BTLE), a separate button is presented on the download
screen for each mode of communication, allowing a choice. Use the _Connection_ value to distinguish between the
two options. In the image on the right, below, there are three buttons labeled "Shearwater Petrel 2". These represent two Shearwater Petrel dive computers, one of which can communicate in both Bluetooth as well as BTLE. The _Connection_
information indicates that the Petrel with no BTLE is selected.

*DOWNLOAD:* With communication between dive computer and _Subsurface-mobile_
having been set up, tap the _Download_ button. Be patient because the download can take a few minutes.
As a matter of fact, a complete first download from some dive computers can take 45 minutes or longer.
The downloaded dives appear in the bottom part of the screen,
the most recent dive at the top (see image on right, below). 

Each dive has a check-box on the left hand side, used for selecting which dives you want to be added to the
_Subsurface-mobile_ dive list: dives that are not checked are ignored. With the appropriate downloaded dives
having been checked, tap the button at the bottom left labeled _Accept_. All the selected dives appear on
the _Subsurface-mobile_ dive list. The downloaded dive information can now be edited as described in the section
above xref:S_Edit_Dive[Edit a dive].

image::mobile-images/DC-Download.jpg["FIGURE: DC download screen",align="center"]

== Dive log management

A central  part of _Subsurface-mobile_ is the ability to store the dive
log using the _Subsurface_ cloud storage.
This provides security against loss or damage of the dive information in a local copy
and allows the desktop version of _Subsurface_ to
access changes made using the mobile device. This ability is accessed
through the main menu
(by tapping the "Hamburger" icon at the bottom left of the screen).
Tap the option _Dive management_, enabling a number of options:

=== Add new dive manually

This is described above under the section dealing with xref:S_Add_Dive[Manually adding a new dive to the dive list].

=== Download from DC

This is described above under the section dealing with xref:S_Download[Download dives from a dive computer].

=== Apply GPS fixes

This is described in the following main section, below.

=== Manually sync the dive log with the _Subsurface_ cloud storage

Upload the dives contained on the mobile device
to the _Subsurface_ cloud storage by tapping the option _Manual sync with cloud_.
This synchronizes the local changes to
the dive log with the cloud storage. It also downloads changes made to
the dive log using another device or computer and stored in shared cloud storage.

=== Enable cloud auto sync

By default _Subsurface-mobile_ runs offline and only syncs the dive list
with cloud storage when explicitly told to do so (see above).
You can choose to always sync with the cloud servers. This is not
recommended unless you are in
an area with a fast and reliable internet connection, as otherwise
_Subsurface-mobile_ might appear to hang between operations as it tries to
connect to the cloud server. Selecting _Enable cloud auto sync_ causes
the local dive log to be synchronized with the copy in the cloud every time that
_Subsurface-mobile_ is closed.

== Recording dive locations using GPS

The fact that most smartphones have GPS facilities allows
_Subsurface-mobile_ to record
the locations of dives. *IMPORTANT: GPS-derived coordinates on a smartphone
are not always accurate and can have an error greater than 1 km. GPS accuracy
is determined by the hardware and software of the
smartphone as well as by the GPS settings selected within Android/iOS.
As of Android V6 select Android _Settings -> Communication -> Location -> High accuracy._*
If the smartphone is taken on the boat
during a dive, locations will be automatically recorded at regular intervals.
These locations can then be applied to dives in the dive list. Here is how it's done:

[[S_ConfigureGPS]]
=== Configuring the GPS service

From the _Main Menu_, select xref:S_Settings[_Settings_] screen which has a section for
configuring the GPS service (image below). GPS location data
are collected at regular intervals, e.g. every 5 minutes, or at regular
distances, e.g. after the boat has moved more than 200m, or a combination of
both of these approaches. Provide the appropriate information and
tap the _Back_ button. The program is now ready to collect GPS positions.

image::mobile-images/GPS-config.jpg["FIGURE: GPS configure",align="center"]

=== Collecting GPS positions

[width="100%", frame="None"]
|=======
a|image::mobile-images/GPSstart.jpg["FIGURE: GPS start",align="center"] | 
On the _Main Menu_ select _GPS -> Run location service_.
_Subsurface-mobile_ starts to collect GPS locations automatically,
following the preferences specified as described above. While the GPS
location service is running, all menus have a GPS symbol at the bottom
of the menu, indicating that the service is active. After return from
the dive trip, deactivate the collection of GPS data by tapping
the option _GPS -> Disable location service_. The GPS symbol at the bottom
of all menus disappears.
|=======

=== Viewing GPS data

From the _GPS_ submenu select _Show GPS fixes_. This brings
up a list of GPS positions obtained by the location service (image
below). Two actions are possible for each of the locations, enabled by
dragging the right part of a location to the left. This exposes two
options. Tapping the dustbin deletes this particular GPS location. Tapping the
teardrop-shaped icon (actually a Google Maps pin) opens up Google Maps with a pin
indicating the exact map position of the GPS record being viewed. The two above
options can be hidden by drawing the GPS record to the right.

image::mobile-images/gpsmanagement.jpg["FIGURE: GPS management",align="center"]

=== Applying GPS data to dives in the dive log

Assuming that all the dives have been entered into the dive log or have
been downloaded from the _Subsurface_ cloud, apply the GPS positions to
these dives. GPS positions can only be applied to dives in the dive list.
From the _Dive management_ sub-panel, tap _Apply GPS fixes_. The dive list contains the start
and end times of each dive. Now, _Subsurface-mobile_ applies the first
GPS position that falls within the dive period of each dive. This results
in a GPS position for each dive that is saved as part of the dive log.

[[S_Settings]]
== Specifying the settings for _Subsurface-mobile_.

The _Settings_ screen allows the customization of _Subsurface-mobile_. Many of the settings involve dragging a slider switch to activate or deactivate a particular setting.

[[S_ChangeCloudAccount]]
=== Changing to a different _Subsurface_ cloud account

Some users have more than one _Subsurface_ cloud account and have a need to switch between accounts. Tap _Settings_ on the Main menu and scroll to the section titled _Cloud status_ (see image below).
Tap the _Change_ button. This opens the _Cloud credentials_ screen.
change the credential information, then tap the button _Sign-in or register_. The appropriate dive list is shown.

image::mobile-images/SettingsCloudTheme.jpg["FIGURE: Settings: Cloud & Theme",align="center"]

=== Changing the color theme of _Subsurface-mobile_

[width="100%", frame="None"]
|=======
a|image::mobile-images/PinkTheme.jpg["FIGURE: GPS start",align="center"] | 
_Subsurface-mobile_ has three color schemes to please users with different
tastes (see image above). This user manual shows the default color scheme, comprising blue
colors. Change to a pink or a dark color scheme by opening the main menu,
tap _Settings_, and scroll to the section with heading _Theme_ (see image above).
Select the appropriate color theme by dragging the appropriate slider on the right-hand.
On the left is the dive list after selecting the Pink theme.
|=======

=== Configuring the GPS webservice

The Settings screen allows one to set up the way in which GPS positions are collected during dives. See the section on xref:S_ConfigureGPS[Configuring the GPS service].

=== Activating the Developer sub-menu

The information in the subsurface.log generated while running _Subsurface-mobile_, plus some additional information for understanding the screen rendering of dive information as well as the way in which _Subsurface-mobile_ processed information during a specific occasion while running the app (see section below) is available through a _Developer_ menu at run time. Activate (or deactivate) this menu item on the Main Menu by dragging the slider switch in the Settings screen.
If _Display developer menu_ has been activated in the _Settings screen_, the Main menu has a _Developer_ item. By tapping this one has two options that are relevant within
the context of program development and debugging.

=== App log

This option shows the messages that _Subsurface-mobile_ generates while running. While
most users are not aware of these messages, they are often crucial in detecting any
abnormal behavior of the app. The App log can be found in the root directory of the local storage of the mobile device.

=== Theme information

This option provides a wealth of information about the screen characteristics of the mobile
device and the font characteristics used by _Subsurface-mobile_.