Updated Android developer documentation to reflect the actual state with the initial release 1.0.0

This commit is contained in:
Andy Scherzinger
2016-06-15 12:13:28 +02:00
parent fb13a5fcb4
commit 2e824bdab2
4 changed files with 44 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ Code example
...
// Parse URI to the base URL of the ownCloud server
// Parse URI to the base URL of the Nextcloud server
Uri serverUri = Uri.parse(getString(R.string.server_base_url));
// Create client object to perform remote operations
@@ -255,7 +255,7 @@ Code example
Move a file or folder
---------------------
Move an exisintg file or folder to a different location in the ownCloud server. Parameters needed are the path
Move an exisintg file or folder to a different location in the Nextcloud server. Parameters needed are the path
to the file or folder to move, and the new path desired for it. The parent folder of the new path must exist in
the server.
@@ -318,7 +318,7 @@ Get the share resources for a given file or folder
Get information about what files and folder are shared by link on a certain
folder. The info needed is filePath, path of the file/folder on the server, the
Boolean variable, getReshares, come from the Sharing api, from the moment it is
not in use within the ownCloud Android library.
not in use within the Nextcloud Android library.
Code example
~~~~~~~~~~~~
@@ -357,7 +357,7 @@ Share a file or a folder from your cloud server by link.
The info needed is filePath, the path of the item that you want to share and
Password, this comes from the Sharing api, from the moment it is not in use
within the ownCloud Android library.
within the Nextcloud Android library.
Code example
@@ -423,8 +423,8 @@ Tips
* Credentials must be set before calling any method
* Paths must not be on URL Encoding
* Correct path: ``https://example.com/owncloud/remote.php/dav/PopMusic``
* Wrong path: ``https://example.com/owncloud/remote.php/dav/Pop%20Music/``
* There are some forbidden characters to be used in folder and files names on the server, same on the ownCloud Android Library "\","/","<",">",":",""","|","?","*"
* Correct path: ``https://example.com/nextcloud/remote.php/dav/PopMusic``
* Wrong path: ``https://example.com/nextcloud/remote.php/dav/Pop%20Music/``
* There are some forbidden characters to be used in folder and files names on the server, same on the Nextcloud Android Library "\","/","<",">",":",""","|","?","*"
* Upload and download actions may be cancelled thanks to the objects uploadOperation.cancel(), downloadOperation.cancel()
* Unit tests, before launching unit tests you have to enter your account information (server url, user and password) on TestActivity.java