android_app.rst 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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.
  85. .. figure:: images/android-15.png
  86. :alt: Top-left menu.
  87. All files (that you have permission to access) on your ownCloud server are
  88. displayed in your Android app, but are not downloaded until you click on them.
  89. Downloaded files are marked with a green arrow.
  90. .. figure:: images/android-8.png
  91. :alt: Downloaded files are marked with green arrows.
  92. Download and view a file with a short press on the filename. Then a short
  93. press on the overflow button opens a menu with options for managing your file.
  94. .. figure:: images/android-9.png
  95. :alt: File management options. Betsy Ross says "Don't believe everything you
  96. read on the Internet."
  97. When you are on your main Files page, a long press on any file or folder
  98. displays a list of options: **Share**, **Open With**, **Synchronize**,
  99. **Rename**, **Move**, **Copy**, **Remove**, **Send**, **Favorite**, and
  100. **Details**.
  101. .. figure:: images/android-11.png
  102. :alt: Folder and file management options.
  103. Click **Share** to share files. You can share with other ownCloud users and
  104. groups, and create public share links. If your ownCloud server administrator
  105. has enabled username auto-completion, when you start typing user or group names
  106. they will auto-complete. After you have shared files, click the **Share** button
  107. to see who you have shared with, and to remove shares.
  108. .. figure:: images/android-12.png
  109. :alt: Sharing files.
  110. Create a Federated share link by clicking **Add User or Group** and entering
  111. the username and remote URL of the person you want to share with in this
  112. format: user@domain.com. You don't have to guess; the Personal page in the
  113. ownCloud Web GUI tells the exact Federated Cloud ID. Just ask them to copy and
  114. paste and send it to you.
  115. .. figure:: images/android-14.png
  116. :alt: Federated share creation.
  117. Settings
  118. --------
  119. Use the **Settings** screen to control your ownCloud app functions.
  120. .. figure:: images/android-10.png
  121. :alt: Setting screen.
  122. In the **Accounts** section you can set up and manage multiple accounts.
  123. The **Security** section sets up strong two-factor authentication by allowing
  124. you to add a PIN (personal identification number) to access your account.
  125. The **Instant Uploads** section creates a directory, :file:`/InstantUpload`, and
  126. any photos or videos created with your Android device's camera are instantly
  127. uploaded to this directory. You also have the option to choose any other
  128. existing directory, or to create a new one. Another nice option is **Upload
  129. Pictures/Video via WiFi Only**, to conserve your mobile data usage.
  130. The bottom section of the **Settings** screen has links to **Help**,
  131. **Recommend to a friend**, **Feedback**, and the version number.
  132. Removing/Logging Out
  133. --------------------
  134. On your Settings page, a long press on an account name opens a dialog to
  135. **Change password** or **Remove account**. **Change password** is, of course,
  136. changing your password.
  137. **Remove account** logs you out of the server, removes your account settings,
  138. and removes your files from your Android device. It does not change anything on
  139. the server. There is no logout function that simply logs out of your account
  140. and leaves all your files on your Android device. If you want extra security,
  141. you can set a login PIN on your Android device, and also on your ownCloud
  142. account. If you are using a shared Android device, other users can access your
  143. files in the file manager if you are sharing a single user account, so you
  144. could set up multiple user accounts to protect your files.
  145. .. figure:: images/android-13.png
  146. :alt: Change password or remove account dialog.