public class AccountUtils {\r
public static final String WEBDAV_PATH_1_2 = "/webdav/owncloud.php";\r
public static final String WEBDAV_PATH_2_0 = "/files/webdav.php";\r
- public static final String WEBDAV_PATH_4_0 = "/remote/webdav.php";\r
+ public static final String WEBDAV_PATH_4_0 = "/remote.php/webdav";\r
public static final String CARDDAV_PATH_2_0 = "/apps/contacts/carddav.php";\r
public static final String CARDDAV_PATH_4_0 = "/remote/carddav.php";\r
public static final String STATUS_PATH = "/status.php";\r
* Can be used to get the currently selected ownCloud account in the\r
* preferences\r
* \r
- * @param context\r
- * The current appContext\r
+ * @param context The current appContext\r
* @return The current account or first available, if none is available,\r
* then null.\r
*/\r
\r
/**\r
* \r
- * @param version\r
- * version of owncloud\r
+ * @param version version of owncloud\r
* @return webdav path for given OC version, null if OC version unknown\r
*/\r
public static String getWebdavPath(OwnCloudVersion version) {\r