From f68d10abc7d74dd93a2368e56b14285578704199 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 4 Dec 2012 12:49:18 +0100 Subject: [PATCH] Give the user the option to move all the foreign files into the ownCloud local folder when the try to copy them during an account synchronization failed --- AndroidManifest.xml | 3 +- res/layout-v14/generic_explanation.xml | 68 ++++++ res/layout/generic_explanation.xml | 23 ++ res/values/strings.xml | 12 +- .../android/syncadapter/FileSyncAdapter.java | 17 +- .../ErrorsWhileCopyingHandlerActivity.java | 258 +++++++++++++++++++++ .../ui/activity/GenericExplanationActivity.java | 2 +- .../ui/dialog/IndeterminateProgressDialog.java | 74 ++++++ 8 files changed, 441 insertions(+), 16 deletions(-) create mode 100644 res/layout-v14/generic_explanation.xml create mode 100644 src/com/owncloud/android/ui/activity/ErrorsWhileCopyingHandlerActivity.java create mode 100644 src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b2998b56..4886f9bd 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -132,7 +132,8 @@ - + + diff --git a/res/layout-v14/generic_explanation.xml b/res/layout-v14/generic_explanation.xml new file mode 100644 index 00000000..641ed1f0 --- /dev/null +++ b/res/layout-v14/generic_explanation.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + +