android_app.rst 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. ==============================
  2. Using the ownCloud Android App
  3. ==============================
  4. Accessing your files on your ownCloud 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 ownCloud 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 ownCloud 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 ownCloud
  14. * Two-factor authentication
  15. New In Version 2.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 ownCloud 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 ownCloud
  25. * Bug fixes
  26. Upgrading
  27. ---------
  28. When you download your ownCloud 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 ownCloud Android app from a custom repository, e.g. your
  33. employer, then you will upgrade according their policies.
  34. Getting the ownCloud Android App
  35. --------------------------------
  36. One way to get your ownCloud Android app is to log into your ownCloud 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 ownCloud account you'll see a screen
  39. with a download link to the ownCloud app in the `Google Play store
  40. <https://play.google.com/store/apps/details?id=com.owncloud.android>`_.
  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 ownCloud Web interface.
  44. Find source code and more information from the `ownCloud download page
  45. <http://owncloud.org/install/#mobile>`_.
  46. Users of customized ownCloud Android apps, for example from their employer,
  47. should follow their employer's instructions.
  48. Connecting to Your ownCloud Server
  49. ----------------------------------
  50. The first time you run your ownCloud 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 ownCloud server should be SSL-enabled, so that you can
  57. connect via ``https``. The ownCloud 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 ownCloud 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 ownCloud 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 ownCloud 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 ownCloud 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 ownCloud 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 ownCloud users and
  111. groups, and create public share links. If your ownCloud 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. ownCloud 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 ownCloud 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 ownCloud
  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.