android_app.rst 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. ===============================
  2. Using the Nextcloud Android App
  3. ===============================
  4. Accessing your files on your Nextcloud server via the Web interface is easy and
  5. convenient, as you can use any Web browser on any operating system without
  6. installing special client software. However, the Nextcloud Android app offers
  7. some advantages over the Web interface:
  8. * A simplified interface that fits nicely on a tablet or smartphone
  9. * Automatic synchronization of your files
  10. * Share files with other Nextcloud users and groups, and create public share
  11. links
  12. * Instant uploads of photos or videos recorded on your Android device
  13. * Easily add files from your device to Nextcloud
  14. * Two-factor authentication
  15. New In Version 1.0.0
  16. --------------------
  17. This release contains a number of improvements, including:
  18. * View status of uploads and manage failures
  19. * Federated sharing is now supported with users on Nextcloud servers
  20. * UI improvements, following Material Design lines
  21. * Share-by-link folders are editable
  22. * Instant uploads automatically stop when Wifi connection is interrupted
  23. * Server certificate warnings are supported
  24. * Improvement when other apps send files to Nextcloud
  25. * Bug fixes
  26. Upgrading
  27. ---------
  28. When you download your Nextcloud Android App from the Google Play store, it will
  29. be upgraded just like any other Play Store app, according to your settings on
  30. your Android device. It will either upgrade automatically, or give you a
  31. notification than an upgrade is available.
  32. If you are using an Nextcloud Android app from a custom repository, e.g. your
  33. employer, then you will upgrade according their policies.
  34. Getting the Nextcloud Android App
  35. ---------------------------------
  36. One way to get your Nextcloud Android app is to log into your Nextcloud server
  37. from your Android device using a Web browser such as Chrome, Firefox, or
  38. Dolphin. The first time you log in to a new Nextcloud account you'll see a screen
  39. with a download link to the Nextcloud app in the `Google Play store
  40. <https://play.google.com/store/apps/details?id=com.nextcloud.client>`_.
  41. .. figure:: images/android-1.png
  42. :alt: Android app new account welcome screen.
  43. You will also find these links on your Personal page in the Nextcloud Web interface.
  44. Find source code and more information from the `Nextcloud download page
  45. <https://nextcloud.com/install/#mobile>`_.
  46. Users of customized Nextcloud Android apps, for example from their employer,
  47. should follow their employer's instructions.
  48. Connecting to Your Nextcloud Server
  49. -----------------------------------
  50. The first time you run your Nextcloud Android app it opens to a configuration
  51. screen. Enter your server URL, login name, password, and click the Connect
  52. button. (Click the eyeball to the right of your password to expose your
  53. password.)
  54. .. figure:: images/android-2.png
  55. :alt: New account creation screen.
  56. For best security your Nextcloud server should be TLS-enabled, so that you can
  57. connect via ``https``. The Nextcloud app will test your connection as soon as
  58. you enter it and tell you if you entered it correctly. If your server has a
  59. self-signed SSL certificate you'll get a warning that it is not to be
  60. trusted. Click the OK button to accept the certificate and complete your account
  61. setup.
  62. .. figure:: images/android-3.png
  63. :alt: SSL certificate warning.
  64. Managing Files
  65. --------------
  66. Now you should see the Files page of your Nextcloud account. Note some
  67. differences from the previous release: click the blue button at the bottom
  68. right to expose the **Upload**, **Content from other apps**, and **New folder**
  69. buttons.
  70. Use the **Upload** button to add files to your Nextcloud account from your
  71. Android filesystem. Use **Content from other apps** to upload files from
  72. Android apps, such as the Gallery app.
  73. .. figure:: images/android-4.png
  74. :alt: Your Nextcloud Files page.
  75. Click the overflow button at the top right (that's the one with three vertical
  76. dots) to open a user menu. **Grid view** toggles between grid and list
  77. view. **Refresh account** syncs with the server, and **Sort**
  78. gives you the option to sort your files by date, or alphabetically.
  79. .. figure:: images/android-6.png
  80. :alt: Top-right menu.
  81. The Nextcloud menu at the top left shows the name of the logged-in user, has a
  82. shortcut to your files, the **Uploads** button, and the **Settings** button.
  83. The Uploads page displays the status of files currently uploading, a list of
  84. your recently-uploaded files, and a Retry option for any failed uploads. If
  85. credentials to access the file have changed, you'll see a credentials error.
  86. Tap the file to retry, and you'll get a login screen to enter the new
  87. credentials.
  88. If the upload fails because you're trying to upload to a folder that you do not
  89. have permission to access, you will see a "Permissions error". Change the
  90. permissions on the folder and retry the upload, or cancel and then upload the
  91. file to a different folder.
  92. .. figure:: images/android-15.png
  93. :alt: Top-left menu.
  94. All files (that you have permission to access) on your Nextcloud server are
  95. displayed in your Android app, but are not downloaded until you click on them.
  96. Downloaded files are marked with a green arrow.
  97. .. figure:: images/android-8.png
  98. :alt: Downloaded files are marked with green arrows.
  99. Download and view a file with a short press on the filename. Then a short
  100. press on the overflow button opens a menu with options for managing your file.
  101. .. figure:: images/android-9.png
  102. :alt: File management options. Betsy Ross says "Don't believe everything you
  103. read on the Internet."
  104. When you are on your main Files page, a long press on any file or folder
  105. displays a list of options: **Share**, **Open With**, **Synchronize**,
  106. **Rename**, **Move**, **Copy**, **Remove**, **Send**, **Favorite**, and
  107. **Details**.
  108. .. figure:: images/android-11.png
  109. :alt: Folder and file management options.
  110. Click **Share** to share files. You can share with other Nextcloud users and
  111. groups, and create public share links. If your Nextcloud server administrator
  112. has enabled username auto-completion, when you start typing user or group names
  113. they will auto-complete. After you have shared files, click the **Share** button
  114. to see who you have shared with, and to remove shares.
  115. .. figure:: images/android-12.png
  116. :alt: Sharing files.
  117. Create a Federated share link by clicking **Add User or Group** and entering
  118. the username and remote URL of the person you want to share with in this
  119. format: user@domain.com. You don't have to guess; the Personal page in the
  120. Nextcloud Web GUI tells the exact Federated Cloud ID. Just ask them to copy and
  121. paste and send it to you.
  122. .. figure:: images/android-14.png
  123. :alt: Federated share creation.
  124. Settings
  125. --------
  126. Use the **Settings** screen to control your Nextcloud app functions.
  127. .. figure:: images/android-10.png
  128. :alt: Setting screen.
  129. In the **Accounts** section you can set up and manage multiple accounts.
  130. The **Security** section sets up strong two-factor authentication by allowing
  131. you to add a PIN (personal identification number) to access your account.
  132. The **Instant Uploads** section creates a directory, :file:`/InstantUpload`, and
  133. any photos or videos created with your Android device's camera are instantly
  134. uploaded to this directory. You also have the option to choose any other
  135. existing directory, or to create a new one. Another nice option is **Upload
  136. Pictures/Video via WiFi Only**, to conserve your mobile data usage.
  137. The bottom section of the **Settings** screen has links to **Help**,
  138. **Recommend to a friend**, **Feedback**, and the version number.
  139. Removing/Logging Out
  140. --------------------
  141. On your Settings page, a long press on an account name opens a dialog to
  142. **Change password** or **Remove account**. **Change password** is, of course,
  143. changing your password.
  144. **Remove account** logs you out of the server, removes your account settings,
  145. and removes your files from your Android device. It does not change anything on
  146. the server. There is no logout function that simply logs out of your account
  147. and leaves all your files on your Android device. If you want extra security,
  148. you can set a login PIN on your Android device, and also on your Nextcloud
  149. account. If you are using a shared Android device, other users can access your
  150. files in the file manager if you are sharing a single user account, so you
  151. could set up multiple user accounts to protect your files.
  152. .. figure:: images/android-13.png
  153. :alt: Change password or remove account dialog.
  154. Sync calendar and contacts
  155. --------------------------
  156. The Nextcloud Android app provides an integration to setup a sync of Androids
  157. calendars and contacts with the Nextcloud server. To set this up go to the
  158. Nextcloud app and open the settings via the left menu. Scroll down there to the
  159. entry "Sync calendar & contacts".
  160. .. figure:: images/davdroid-1-button-in-nextcloud-app.png
  161. :alt: Menu entry "Sync calendar & contacts"
  162. When clicking this and the DAVDroid app is not installed it will open the
  163. Google Play Store or the F-Droid store to let you install this app (if none of
  164. them is installed the DAVDroid website is opened). This app provides the sync
  165. mechanism for the calendars and contacts.
  166. .. figure:: images/davdroid-2-install-davdroid.png
  167. :alt: DAVDroid app
  168. When clicking the menu entry "Sync calendar & contacts" and the DAVDroid app is
  169. installed it will open the configuration of the DAVDroid app prefilled with the
  170. account information from the Nextcloud app. You only need to specify the
  171. password.
  172. .. figure:: images/davdroid-3-enter-password.png
  173. :alt: DAVDroid app configuration
  174. After entering the password you need to specify an email address that is used as
  175. owner for calendar events you create.
  176. .. figure:: images/davdroid-4-specify-owner-email.png
  177. :alt: DAVDroid app configuration for the owners email address
  178. Now the sync is set up and your phones calendars and contacts are synced with the
  179. Nextcloud server.