From add2876b70fdb875a0d3651cf77b201d3e4e46ab Mon Sep 17 00:00:00 2001 From: IT Hit Date: Thu, 14 Dec 2017 20:56:02 +0200 Subject: [PATCH] 3.1.2208 --- README.md | 6 +++--- androidfsstorage/app/build.gradle | 6 +++--- .../app/src/main/assets/MyCustomHandlerPage.html | 4 ++-- .../assets/{afb => wwwroot}/AjaxFileBrowser.html | 0 .../{afb => wwwroot}/AjaxIntegrationTests.html | 0 ...roidLogContext.java => AndroidNanoLogger.java} | 15 ++++++++++----- .../androidfsstorage/CustomFolderGetHandler.java | 4 ++-- .../androidfsstorage/HierarchyItemImpl.java | 3 +-- .../android/AndroidConfigurationHelper.java | 6 +++--- .../android/NanoIntentService.java | 9 ++++----- androidfsstorage/build.gradle | 4 +++- deltav/pom.xml | 15 ++++++++------- .../samples/deltavservlet/HierarchyItemImpl.java | 2 +- .../samples/deltavservlet/WebDavServlet.java | 10 +++++----- filesystemstorage/pom.xml | 13 +++++++------ .../fsstorageservlet/HierarchyItemImpl.java | 2 +- .../samples/fsstorageservlet/WebDavServlet.java | 10 +++++----- oraclestorage/pom.xml | 15 ++++++++------- .../oraclestorageservlet/HierarchyItemImpl.java | 2 +- .../oraclestorageservlet/WebDavServlet.java | 10 +++++----- 20 files changed, 72 insertions(+), 64 deletions(-) rename androidfsstorage/app/src/main/assets/{afb => wwwroot}/AjaxFileBrowser.html (100%) rename androidfsstorage/app/src/main/assets/{afb => wwwroot}/AjaxIntegrationTests.html (100%) rename androidfsstorage/app/src/main/java/com/ithit/webdav/samples/androidfsstorage/{AndroidLogContext.java => AndroidNanoLogger.java} (81%) diff --git a/README.md b/README.md index 9eca670..f9e24da 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ WebDAV server with file system back-end storage is a fully functional Class 2 se ## WebDAV Server with Versioning Example This example demonstrates how you can implement file versioning support in your WebDAV server. It is using auto-versioning and each time you save a file the new version is created. Your client application does not need to know anything about versioning support on a server side. While capable of handling any WebDAV clients, this DeltaV sample is optimized to work with Microsoft Office. It is using Lock/Unlock commands to minimize an amount of versions created. [more...](https://www.webdavsystem.com/javaserver/server_examples/deltav_storage/) -## Android WebDAV Server on NanoHTTPD Example - A modified NanoHTTPD mobile WebDAV server that runs on Android. It stores all files in mobile device file system while locks and properties in SQLite. This sample provides access to the documents inside a mobile app folder. To see the documents a user opens a sample web page served by this server in a web browser on any machine in the local network. A user can open, edit and save documents back to the mobile device as well as can upload, download and manage documents using any WebDAV client. The sample requires license. +## Android WebDAV Server Example + A mobile WebDAV server that runs on Android on modified NanoHTTPD server. It stores all files in mobile device file system while locks and properties in SQLite. This sample provides access to the documents inside a mobile app folder. To see the documents a user opens a sample web page served by this server in a web browser on any machine in the local network. A user can open, edit and save documents back to the mobile device as well as can upload, download and manage documents using any WebDAV client. The sample requires license. Its text should be added to the **webdavsettings.json** file (see **assets** folder) in the **License** section. Please change all double quotes to single quotes in the license text or remove **xml** header. - To build example execute **buildAndroid.bat** or **buildAndroid** in the root folder. \ No newline at end of file + To build example execute **buildAndroid.bat** or **buildAndroid** in the root folder. [more...](https://www.webdavsystem.com/javaserver/server_examples/android/) \ No newline at end of file diff --git a/androidfsstorage/app/build.gradle b/androidfsstorage/app/build.gradle index 0262c46..046f865 100644 --- a/androidfsstorage/app/build.gradle +++ b/androidfsstorage/app/build.gradle @@ -23,7 +23,7 @@ android { jarJar { rules = [ 'stax-api-1.0.1.jar': 'javax.xml.** com.ithit.webdav.xml.@1', - 'webdav-server-3.0.2101.jar': 'javax.xml.stream.** com.ithit.webdav.xml.stream.@1' + 'webdav-server-3.1.2208.jar': 'javax.xml.stream.** com.ithit.webdav.xml.stream.@1' ] } @@ -38,11 +38,11 @@ dependencies { compile 'commons-io:commons-io:2.4' compile 'com.google.code.gson:gson:2.7' compile 'com.android.support:appcompat-v7:26.+' - compile ('com.ithit.webdav.integration:android-integration:3.0.2101', { + compile ('com.ithit.webdav.integration:android-integration:3.1.2208', { exclude group: 'org.nanohttpd', module: 'nanohttpd' }) compile 'com.android.support.constraint:constraint-layout:1.0.2' jarJar 'stax:stax-api:1.0.1' - jarJar 'com.ithit.webdav:webdav-server:3.0.2101' + jarJar 'com.ithit.webdav:webdav-server:3.1.2208' testCompile 'junit:junit:4.12' } \ No newline at end of file diff --git a/androidfsstorage/app/src/main/assets/MyCustomHandlerPage.html b/androidfsstorage/app/src/main/assets/MyCustomHandlerPage.html index d0a50c6..8ce3584 100644 --- a/androidfsstorage/app/src/main/assets/MyCustomHandlerPage.html +++ b/androidfsstorage/app/src/main/assets/MyCustomHandlerPage.html @@ -326,13 +326,13 @@

Connect with WebDAV Client